mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Merge pull request #357 from saitho/master
add Konva.Image.fromURL to TS definitions. close #356
This commit is contained in:
commit
9dd1895a78
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user