Changeset 0c6b92a for imaps-frontend/node_modules/konva/lib/Node.d.ts
- Timestamp:
- 12/12/24 17:06:06 (6 weeks ago)
- Branches:
- main
- Children:
- 79a0317
- Parents:
- d565449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified imaps-frontend/node_modules/konva/lib/Node.d.ts ¶
rd565449 r0c6b92a 40 40 [index: string]: any; 41 41 }; 42 export interface KonvaEventObject<EventType > {42 export interface KonvaEventObject<EventType, This = Node> { 43 43 type: string; 44 44 target: Shape | Stage; 45 45 evt: EventType; 46 46 pointerId: number; 47 currentTarget: Node;47 currentTarget: This; 48 48 cancelBubble: boolean; 49 49 child?: Node; 50 50 } 51 export type KonvaEventListener<This, EventType> = (this: This, ev: KonvaEventObject<EventType >) => void;51 export type KonvaEventListener<This, EventType> = (this: This, ev: KonvaEventObject<EventType, This>) => void; 52 52 export declare abstract class Node<Config extends NodeConfig = NodeConfig> { 53 53 _id: number; … … 181 181 attrs: Config & Record<string, any>; 182 182 className: string; 183 children?: any[] | undefined;183 children?: Array<any>; 184 184 }; 185 185 toJSON(): string; … … 320 320 transformsEnabled: GetSet<string, this>; 321 321 visible: GetSet<boolean, this>; 322 width: number;322 width: GetSet<number, this>; 323 323 height: GetSet<number, this>; 324 324 x: GetSet<number, this>;
Note:
See TracChangeset
for help on using the changeset viewer.