Moveable
    Preparing search index...

    Interface OnResizeGroupStart

    interface OnResizeGroupStart {
        clientX: number;
        clientY: number;
        currentTarget: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        datas: IObject<any>;
        direction: number[];
        dragStart: false | OnDragStart;
        events: OnResizeStart[];
        inputEvent: any;
        isFirstDrag: number;
        isTrusted: boolean;
        moveable: MoveableManagerInterface<
            Record<string, any>,
            Record<string, any>,
        >;
        set: (size: number[]) => any;
        setFixedDirection: (startDirecition: number[]) => any;
        setMax: (maxSize: (string | number)[]) => any;
        setMin: (minSize: (string | number)[]) => any;
        setOrigin: (origin: (string | number)[]) => any;
        setRatio: (ratio: number) => any;
        startRatio: 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.

    direction: number[]

    The direction of resize.

    dragStart: false | OnDragStart

    resize causes a dragStart event.

    events: OnResizeStart[]

    Each resizeStart event on the targets

    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

    set: (size: number[]) => any

    You can set the css width, height value.

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

    Set a fixed direction to resize.

    Opposite direction
    
    setMax: (maxSize: (string | number)[]) => any

    You can set the css max offset width, max offset height value.

    [maxOffsetWidth, maxOffsetHeight])
    
    setMin: (minSize: (string | number)[]) => any

    You can set the css min offset width, min offset height value.

    [minOffsetWidth, minOffsetHeight])
    
    setOrigin: (origin: (string | number)[]) => any

    You can set the css origin

    transformOrigin
    
    setRatio: (ratio: number) => any

    Set the ratio of width and height.

    offsetWidth / offsetHeight
    
    startRatio: number

    First set (boundingWidth / boundingHeight) value

    target: SVGElement | HTMLElement

    The Moveable's target

    targets: (SVGElement | HTMLElement)[]

    targets to resize