Moveable
    Preparing search index...

    Interface OriginOptions

    interface OriginOptions {
        origin?: boolean;
        svgOrigin?: string;
    }

    Hierarchy (View Summary)

    Index
    origin?: boolean

    Whether or not the origin control box will be visible or not.

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

    const moveable = new Moveable(document.body);

    moveable.origin = true;
    svgOrigin?: string

    Sets the transform origin based on the svg target. If not set, it is set as the transform origin based on the owner of svg.

    0.47.0

    ""