first commit
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import type { KonvaEventObject, Node } from './Node.ts';
|
||||
import type { Shape } from './Shape.ts';
|
||||
import type { Stage } from './Stage.ts';
|
||||
export interface KonvaPointerEvent extends KonvaEventObject<PointerEvent> {
|
||||
pointerId: number;
|
||||
}
|
||||
export declare function getCapturedShape(pointerId: number, stage?: Stage): Shape<import("./Shape.ts").ShapeConfig> | Stage | undefined;
|
||||
export declare function hasPointerCapture(pointerId: number, shape: Shape | Stage): boolean;
|
||||
export declare function setPointerCapture(pointerId: number, shape: Shape | Stage): void;
|
||||
export declare function releaseCapturesOf(node: Node): void;
|
||||
export declare function releaseCapture(pointerId: number, target?: Shape | Stage): void;
|
||||
Reference in New Issue
Block a user