Options
All
  • Public
  • Public/Protected
  • All
Menu

An interface defining a menu.

Hierarchy

  • PartialJSONObject
    • IMenu

Index

Properties

Optional disabled

disabled: boolean

Whether a menu is disabled. False by default.

Notes

This allows an user to suppress a menu.

Optional icon

icon: string

Menu icon id

Note

The icon id will looked for in registered LabIcon.

id

id: string

Unique menu identifier

Optional items

items: IMenuItem[]

Menu items

Optional label

label: string

Menu title

Notes

Default will be the capitalized id.

Optional mnemonic

mnemonic: number

Get the mnemonic index for the title.

Notes

The default value is -1.

Optional rank

rank: number

The rank order of the menu among its siblings.

Generated using TypeDoc