Moveable
    Preparing search index...

    Interface OnClick

    interface OnClick {
        clientX: number;
        clientY: number;
        containsTarget: boolean;
        currentTarget: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        datas: IObject<any>;
        inputEvent: any;
        inputTarget: Element;
        isDouble: boolean;
        isFirstDrag: number;
        isTarget: boolean;
        isTrusted: boolean;
        moveable: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        moveableTarget: SVGElement | HTMLElement | null;
        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.

    containsTarget: boolean

    Whether the clicked target is a child of moveable target.

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

    The Moveable instance

    datas: IObject<any>

    Objects that can send information to the following events.

    inputEvent: any

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

    inputTarget: Element

    Clicked element.

    isDouble: boolean

    Whether it is double-click

    isFirstDrag: number

    Whether this is the first drag in the drag event

    isTarget: boolean

    Whether the clicked target is moveable target.

    isTrusted: boolean

    Whether the event did not occur externally

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

    The Moveable instance

    moveableTarget: SVGElement | HTMLElement | null

    clicked moveable target

    target: SVGElement | HTMLElement

    The Moveable's target