Moveable
    Preparing search index...

    Interface OnClip

    interface OnClip {
        clientX: number;
        clientY: number;
        clipEventType: "added" | "changed" | "removed";
        clipStyle: string;
        clipStyles: string[];
        clipType: "rect" | "circle" | "ellipse" | "polygon" | "inset";
        cssText: string;
        currentTarget: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        datas: IObject<any>;
        distX: number;
        distY: number;
        inputEvent: any;
        isFirstDrag: number;
        isTrusted: boolean;
        moveable: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        poses: number[][];
        style: Record<string, string>;
        target: SVGElement | HTMLElement;
        stopAble(): void;
        stopDrag(): void;
    }

    Hierarchy (View Summary)

    Index
    clientX: number

    The horizontal coordinate within the application's client area at which the event occurred.

    clientY: number

    The vertical coordinate within the application's client area at which the event occurred.

    clipEventType: "added" | "changed" | "removed"

    The clip event type.

    clipStyle: string

    CSS style of changed clip

    clipStyles: string[]

    Splited CSS styles of changed clip

    clipType: "rect" | "circle" | "ellipse" | "polygon" | "inset"

    The clip type.

    cssText: string

    You can get it as a cssText that you can get from that event.

    currentTarget: MoveableManagerInterface<
        Record<string, any>,
        Record<string, any>,
    >

    The Moveable instance

    datas: IObject<any>

    Objects that can send information to the following events.

    distX: number

    x position of the distance the control has moved

    distY: number

    y position of the distance the control has moved

    inputEvent: any

    The mouse or touch input event that is invoking the moveable event

    isFirstDrag: number

    Whether this is the first drag in the drag event

    isTrusted: boolean

    Whether the event did not occur externally

    moveable: MoveableManagerInterface<Record<string, any>, Record<string, any>>

    The Moveable instance

    poses: number[][]

    The control positions

    style: Record<string, string>

    You can get the style you can get from the event.

    target: SVGElement | HTMLElement

    The Moveable's target