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

    Type Alias PlannerContextTarget

    PlannerContextTarget:
        | { date: DateKey; kind: "date" }
        | { date: DateKey; itemId: string; kind: "item" }
        | { annotationId: string; date: DateKey; kind: "annotation" }

    The target a host-owned context-menu request refers to.

    Type Declaration

    • { date: DateKey; kind: "date" }
      • date: DateKey

        Date key of the cell.

      • kind: "date"

        Discriminator for a date cell.

    • { date: DateKey; itemId: string; kind: "item" }
      • date: DateKey

        Day under the pointer or focused item.

      • itemId: string

        Item identifier.

      • kind: "item"

        Discriminator for a ribbon item.

    • { annotationId: string; date: DateKey; kind: "annotation" }
      • annotationId: string

        Annotation item identifier.

      • date: DateKey

        Day under the pointer or focused annotation.

      • kind: "annotation"

        Discriminator for an annotation chip.