windease API reference - v0.6.0
    Preparing search index...

    Interface Affordance<TMeta>

    interface Affordance<TMeta = unknown> {
        childId?: string | NodeId;
        cursor?: string;
        id: string;
        kind: string;
        meta?: TMeta;
        rect: Rect;
    }

    Type Parameters

    • TMeta = unknown
    Index

    Properties

    childId?: string | NodeId

    Present on resize affordances; absent on existing gutter/drag affordances. Identifies the child whose placement.size will be mutated when the strategy's dispatchAffordance hook fires.

    cursor?: string
    id: string
    kind: string
    meta?: TMeta
    rect: Rect