Moveable
    Preparing search index...

    Interface OnBeforeResizeGroup

    interface OnBeforeResizeGroup {
        boundingHeight: number;
        boundingWidth: number;
        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>,
        >;
        setFixedDirection: (startDirecition: number[]) => number[];
        setSize: (size: number[]) => void;
        startFixedDirection: number[];
        target: SVGElement | HTMLElement;
        targets: (SVGElement | HTMLElement)[];
        stopAble(): void;
        stopDrag(): void;
    }

    Hierarchy (View Summary)

    Index
    boundingHeight: number

    a target's bounding height before snap and throttle and format

    boundingWidth: number

    a target's bounding width before snap and throttle and format

    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

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

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

    setSize: (size: number[]) => void

    Set the bounding size to resizing.

    startFixedDirection: number[]

    fixedDirection set by resizeStart.

    target: SVGElement | HTMLElement

    The Moveable's target

    targets: (SVGElement | HTMLElement)[]

    The resizing targets