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

    Interface AffordanceRenderArgs

    Args passed to function-form affordances callbacks. The function fully replaces the default renderer and is responsible for pointer events; call dispatch with { affordanceId, kind, payload } to drive the strategy.

    interface AffordanceRenderArgs {
        affordance: Affordance;
        dispatch: (event: LayoutEvent) => void;
        hitPad: number;
    }
    Index

    Properties

    affordance: Affordance
    dispatch: (event: LayoutEvent) => void
    hitPad: number