Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a context menu object.

Hierarchy

  • ContextMenu

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    Returns any

Properties

menuCounter

menuCounter: Number

Methods

renderMenu

  • renderMenu(x: Number, y: Number, menu?: ContextMenuItem[], quiet?: boolean): HTMLDivElement
  • Renders the menu at the specified position.

    Parameters

    • x: Number

      The X position.

    • y: Number

      The Y position.

    • Optional menu: ContextMenuItem[]
    • Optional quiet: boolean

      Whether to be quiet.

    Returns HTMLDivElement

Generated using TypeDoc