Options
All
  • Public
  • Public/Protected
  • All
Menu

A customizable HTML context menu.

Hierarchy

  • ContextMenu

Index

Constructors

Accessors

  • get context(): any
  • set context(arg: any): void
  • get enabled(): boolean
  • set enabled(arg: boolean): void
  • get items(): any[]
  • set items(arg: any[]): void
  • get shown(): boolean

Methods

  • destroy(): void
  • fire(event: string, value: any): void
  • hide(): void
  • on(event: string, callback: Function): void
  • Subscribes to an event fired at this ContextMenu.

    Parameters

    • event: string

      The event

    • callback: Function

      Callback fired on the event

    Returns void

  • show(pageX: number, pageY: number): void

Generated using TypeDoc