@blendsdk/react-year-planner
    Preparing search index...

    Interface InteractionConfig

    Configuration for interaction features. Gesture behavior is supplied by the interaction layer.

    interface InteractionConfig {
        commandTimeoutMs?: number;
        confirmChange?: (command: PlannerCommand) => boolean | Promise<boolean>;
        createDefaults?: { kind: ItemKind; layerId: string };
        createId?: () => string;
        doubleClick?: "inspect" | "none";
        marquee?: "items" | "dates";
        mode?: InteractionMode;
        paintDefaults?: PaintDefaults;
        requestId?: () => string;
        touchEditing?: "auto" | "on" | "off";
    }
    Index
    commandTimeoutMs?: number

    Command timeout in milliseconds; defaults to 15000.

    confirmChange?: (command: PlannerCommand) => boolean | Promise<boolean>

    Confirmation hook for destructive commands.

    createDefaults?: { kind: ItemKind; layerId: string }

    Defaults for inspector-created items.

    Type Declaration

    • kind: ItemKind

      Item kind for a newly created item.

    • layerId: string

      Layer that receives a newly created item.

    createId?: () => string

    Factory for new item IDs; defaults to UUID/monotonic.

    doubleClick?: "inspect" | "none"

    Double-click action; defaults to inspect.

    marquee?: "items" | "dates"

    Marquee interpretation; defaults to item intersection.

    mode?: InteractionMode

    Active interaction mode; defaults to auto.

    paintDefaults?: PaintDefaults

    Defaults for painted highlights.

    requestId?: () => string

    Factory for request IDs.

    touchEditing?: "auto" | "on" | "off"

    Touch editing policy; "auto" stays scroll-first until the host sets "on".