@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Function contextMenuProps

    • Props that make an element open the context menu of the graph node id. caller is the one the element's own menu passes its actions: a popover an action opens anchors to ${caller}:${id}, which the element renders.

      Parameters

      • id: string
      • Optionalcaller: string

      Returns Partial<Record<"data-dx-context" | "data-dx-context-caller", string>>