weasel API - v0.8.0
    Preparing search index...

    Interface UseLassoSelectOptions

    interface UseLassoSelectOptions {
        behaviors?: LassoSelectBehavior[];
        debug?: DebugSink;
        label?: string;
        minVertexSpacing?: number;
        onGestureEnd?: (committed: boolean) => void;
        onGestureStart?: () => void;
        transient?: boolean;
    }
    Index

    Properties

    behaviors?: LassoSelectBehavior[]
    debug?: DebugSink

    Optional debug sink; receives the live polygon AABB on every move.

    label?: string

    Label used when transient is false and the hook falls back to applyOps. Default 'Lasso select'.

    minVertexSpacing?: number

    Skip vertices closer than this many world-px to the previous one. Default 2. Set 0 to record every move sample.

    onGestureEnd?: (committed: boolean) => void
    onGestureStart?: () => void
    transient?: boolean

    When set, overrides any behavior's defaultTransient.