A generic representation of the contents of a context menu.

Hierarchy

  • ContextMenu

Constructors

Accessors

Methods

Constructors

Accessors

  • get title(): string
  • The title of the context menu.

    Returns string

  • set title(title): void
  • Parameters

    • title: string

    Returns void

Methods

  • Adds an item to the context menu.

    Parameters

    Returns void

  • Adds a separator to the context menu.

    Returns void