Moveable
    Preparing search index...

    Interface OnBeforeScaleGroup

    interface OnBeforeScaleGroup {
        clientX: number;
        clientY: number;
        currentTarget: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        datas: IObject<any>;
        inputEvent: any;
        isFirstDrag: number;
        isTrusted: boolean;
        moveable: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        scale: number[];
        setFixedDirection: (startDirecition: number[]) => number[];
        setScale: (scale: number[]) => void;
        startFixedDirection: number[];
        target: SVGElement | HTMLElement;
        targets: (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.

    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

    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

    scale: number[]

    a target's scale before snap and throttle and format

    setFixedDirection: (startDirecition: number[]) => number[]

    Set a fixed direction to scale. If fixedDirection is set, the scale values can be changed and can be reconfirmed as a return value.

    setScale: (scale: number[]) => void

    Set target's scale to scaling.

    startFixedDirection: number[]

    fixedDirection set by rotateStart.

    target: SVGElement | HTMLElement

    The Moveable's target

    targets: (SVGElement | HTMLElement)[]

    The scaling targets