react-moveable
Version:
A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
25 lines (24 loc) • 1.98 kB
TypeScript
import { MoveableManagerInterface, RenderableProps, OnRender, OnRenderEnd, MoveableGroupInterface } from "../types";
declare const _default: {
readonly name: "renderable";
readonly props: readonly [];
readonly events: readonly ["renderStart", "render", "renderEnd", "renderGroupStart", "renderGroup", "renderGroupEnd"];
readonly dragRelation: "weak";
readonly dragStart: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => void;
readonly drag: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => void;
readonly dragAfter: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => void;
readonly dragEnd: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => void;
readonly dragGroupStart: (moveable: MoveableGroupInterface<RenderableProps>, e: any) => void;
readonly dragGroup: (moveable: MoveableGroupInterface<RenderableProps>, e: any) => void;
readonly dragGroupEnd: (moveable: MoveableGroupInterface<RenderableProps>, e: any) => void;
readonly dragControlStart: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => void;
readonly dragControl: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => void;
readonly dragControlAfter: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => void;
readonly dragControlEnd: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => void;
readonly dragGroupControlStart: (moveable: MoveableGroupInterface<RenderableProps>, e: any) => void;
readonly dragGroupControl: (moveable: MoveableGroupInterface<RenderableProps>, e: any) => void;
readonly dragGroupControlEnd: (moveable: MoveableGroupInterface<RenderableProps>, e: any) => void;
readonly fillDragParams: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => OnRender;
readonly fillDragEndParams: (moveable: MoveableManagerInterface<RenderableProps>, e: any) => OnRenderEnd;
};
export default _default;