Options
All
  • Public
  • Public/Protected
  • All
Menu

A generic representation of the contents of a context menu.

Hierarchy

  • ContextMenu

Overview

Constructors

Accessors

Methods

Constructors

constructor

Accessors

items

  • A read-only list of the items that have been registered on this context menu.

    Returns ContextMenuItem[]

title

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

    Returns string

  • The title of the context menu.

    Parameters

    • title: string

    Returns any

Methods

addItem

  • Adds an item to the context menu.

    Parameters

    Returns void

addSeparator

  • (): void
  • Adds a separator to the context menu.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method