Menu

Methods

static getMenuItem(label) → {object}

Helper function to get menu item from a label

Parameters:
Name Type Description
label string

name of the menu item to find.

Returns:
object -
  • the menu item.

static init()

Initialise the menu.

inner getMenuTemplate()

Menu template.