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

    Interface PointSnapBehavior<TPose>

    A point-snap behavior plugged into useResize's pointSnapBehaviors.

    interface PointSnapBehavior<TPose extends ResizePose> {
        id?: string;
        onMove(ctx: PointSnapContext<TPose>): PointSnapResult | null | undefined;
    }

    Type Parameters

    Index

    Properties

    Methods

    Properties

    id?: string

    Methods