mirror of
https://github.com/konvajs/konva.git
synced 2026-01-21 18:51:52 +08:00
Fix TypeScript definition: add "getClientRect()" function to "Container" class.
This commit is contained in:
1
resources/konva.d.ts
vendored
1
resources/konva.d.ts
vendored
@@ -272,6 +272,7 @@ declare module Konva {
|
|||||||
constructor(params?: ContainerConfig);
|
constructor(params?: ContainerConfig);
|
||||||
add(child : Node): Container;
|
add(child : Node): Container;
|
||||||
getChildren(filterfunc?: Function) : Collection;
|
getChildren(filterfunc?: Function) : Collection;
|
||||||
|
getClientRect(): SizeConfig;
|
||||||
clip(): SizeConfig;
|
clip(): SizeConfig;
|
||||||
clip(clip: SizeConfig) : Container;
|
clip(clip: SizeConfig) : Container;
|
||||||
clipHeight(): number;
|
clipHeight(): number;
|
||||||
|
|||||||
Reference in New Issue
Block a user