mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 08:46:44 +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);
|
||||
add(child : Node): Container;
|
||||
getChildren(filterfunc?: Function) : Collection;
|
||||
getClientRect(): SizeConfig;
|
||||
clip(): SizeConfig;
|
||||
clip(clip: SizeConfig) : Container;
|
||||
clipHeight(): number;
|
||||
|
||||
Reference in New Issue
Block a user