UNPKG

react-moveable

Version:

A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.

7 lines (6 loc) 688 B
import { MoveableManagerInterface } from "../types"; import { IObject } from "@daybrush/utils"; import Gesto from "gesto"; export declare function triggerAble(moveable: MoveableManagerInterface, ableType: string, eventOperation: string, eventAffix: string, eventType: any, e: any, requestInstant?: boolean): boolean; export declare function getTargetAbleGesto(moveable: MoveableManagerInterface, moveableTarget: HTMLElement | SVGElement, eventAffix: string): Gesto; export declare function getAbleGesto(moveable: MoveableManagerInterface, target: HTMLElement | SVGElement | Array<HTMLElement | SVGElement>, ableType: string, eventAffix: string, conditionFunctions?: IObject<any>): Gesto;