Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContextMenuJQueryOption

The context menu options in a format usable for jquery-context-menu build()

Hierarchy

  • ContextMenuJQueryOption

Index

Properties

callback

callback: function

The onClick callback of the Context Menu Option.

param

Name of the element that triggered the onClick()

param

The options data from jquery-context-menu onClick()

returns

Type declaration

    • (key: string, options: any): void
    • Parameters

      • key: string
      • options: any

      Returns void

disabled

disabled: boolean

When set to true this will disable and gray out the Context Menu Option

icon

icon: string

Name of the icon that will display on the Context Menu Option

items

items: any

Child Context Menu Items, when a user hovers over this option the child options will show up to the right.

name

name: string

Text that will display on the Context Menu Option