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

    Interface PlannerContextMenuRequest

    A host-owned context-menu request.

    The component never renders a menu. The host positions its own Fluent UI or MUI menu, performs an action and calls restoreFocus when the menu closes.

    interface PlannerContextMenuRequest {
        anchorRect: DOMRect;
        clientX: number;
        clientY: number;
        restoreFocus: () => void;
        source: "pointer" | "keyboard";
        target: PlannerContextTarget;
    }
    Index
    anchorRect: DOMRect

    Border box of the originating cell, item or annotation.

    clientX: number

    Pointer x in viewport coordinates, or the focused element's left edge.

    clientY: number

    Pointer y in viewport coordinates, or the focused element's bottom edge.

    restoreFocus: () => void

    Returns focus to the originating cell or item.

    source: "pointer" | "keyboard"

    Input that raised the request.

    What was right-clicked.