mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 08:46:44 +08:00
Merge pull request #357 from saitho/master
add Konva.Image.fromURL to TS definitions. close #356
This commit is contained in:
1
konva.d.ts
vendored
1
konva.d.ts
vendored
@@ -753,6 +753,7 @@ declare namespace Konva {
|
||||
cropWidth(cropWidth: number): this;
|
||||
cropHeight(): number;
|
||||
cropHeight(cropHeight: number): this;
|
||||
static fromURL(url: string, callback: Function): void;
|
||||
}
|
||||
|
||||
interface LineConfig extends ShapeConfig {
|
||||
|
||||
Reference in New Issue
Block a user