source: imaps-frontend/node_modules/konva/lib/PointerEvents.d.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 688 bytes
RevLine 
[d565449]1import { KonvaEventObject } from './Node.js';
2import { Shape } from './Shape.js';
3import { Stage } from './Stage.js';
4export interface KonvaPointerEvent extends KonvaEventObject<PointerEvent> {
5 pointerId: number;
6}
7export declare function getCapturedShape(pointerId: number): Stage | Shape<import("./Shape.js").ShapeConfig> | undefined;
8export declare function createEvent(evt: PointerEvent): KonvaPointerEvent;
9export declare function hasPointerCapture(pointerId: number, shape: Shape | Stage): boolean;
10export declare function setPointerCapture(pointerId: number, shape: Shape | Stage): void;
11export declare function releaseCapture(pointerId: number, target?: Shape | Stage): void;
Note: See TracBrowser for help on using the repository browser.