Moveable
    Preparing search index...

    Interface OnRotate

    Parameters for the rotate event

    interface OnRotate {
        absoluteDelta: number;
        absoluteDist: number;
        absoluteRotate: number;
        absoluteRotation: number;
        afterTransform: string;
        beforeDelta: number;
        beforeDist: number;
        beforeRotate: number;
        beforeRotation: number;
        clientX: number;
        clientY: number;
        cssText: string;
        currentTarget: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        datas: IObject<any>;
        delta: number;
        dist: number;
        drag: OnDrag;
        inputEvent: any;
        isFirstDrag: number;
        isPinch: boolean;
        isTrusted: boolean;
        moveable: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        resize?: OnResize;
        rotate: number;
        rotation: number;
        style: Record<string, string>;
        target: SVGElement | HTMLElement;
        transform: string;
        stopAble(): void;
        stopDrag(): void;
    }

    Hierarchy (View Summary)

    Index
    absoluteDelta: number

    The delta of client rotation degree

    absoluteDist: number

    The distance of client rotation degree

    absoluteRotate: number

    The now client rotation degree

    absoluteRotation: number

    The now client rotation degree

    afterTransform: string

    A transform obtained by the simultaneous occurrence of other events in the current event

    beforeDelta: number

    The delta of rotation degree before transform is applied

    beforeDist: number

    The distance of rotation degree before transform is applied

    beforeRotate: number

    The now rotation degree before transform is applied

    beforeRotation: number

    The now rotation degree before transform is applied

    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.

    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.

    delta: number

    The delta of rotation degree

    dist: number

    The distance of rotation degree

    drag: OnDrag

    transform events causes a drag event. In some events, there may be no value.

    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

    isPinch: boolean

    Whether or not it is being pinched.

    isTrusted: boolean

    Whether the event did not occur externally

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

    The Moveable instance

    resize?: OnResize

    rotate causes a resize event.

    rotate: number

    The now rotation degree

    rotation: number

    The now rotation degree

    style: Record<string, string>

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

    target: SVGElement | HTMLElement

    The Moveable's target

    transform: string

    a target's next transform string value.