Moveable
    Preparing search index...

    Interface DragAreaProps

    interface DragAreaProps {
        dragArea?: boolean;
        passDragArea?: boolean;
    }

    Hierarchy (View Summary)

    Index
    dragArea?: boolean

    Instead of firing an event on the target, we add it to the moveable control element. You can use click and clickGroup events. Add an event to the moveable area instead of the target for stopPropagation.

    if group, true, else fals
    
    import Moveable from "@moveable-next/vanilla";

    const moveable = new Moveable(document.body, {
    dragArea: false,
    });
    passDragArea?: boolean

    Set pointerEvents: none; css to pass events in dragArea.

    false
    
    import Moveable from "@moveable-next/vanilla";

    const moveable = new Moveable(document.body, {
    dragArea: false,
    });