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

    Interface ResizeOverlay<TPose>

    Live overlay state exposed by useResize for rendering the in-flight resize ghost.

    interface ResizeOverlay<TPose> {
        anchor: ResizeAnchor;
        currentPose: TPose;
        id: string;
        leafPoses?: Map<string, TPose>;
        targetPose: TPose;
    }

    Type Parameters

    • TPose
    Index

    Properties

    anchor: ResizeAnchor
    currentPose: TPose
    id: string
    leafPoses?: Map<string, TPose>

    Per-leaf scaled poses when the gesture is resizing a group. Keys are the expanded leaf ids (from expandIds); values are the per-leaf poses produced by scaling each leaf's origin pose against the group's origin/proposed union rects. Absent for single-leaf resizes.

    targetPose: TPose