DashboardMenu

App.DashboardMenu. DashboardMenu

new DashboardMenu()

Methods

addCommand(command)

Injects an command with an onClick handler into the App.DashboardMenu Note: will not re-render the component

Parameters:
Name Type Description
command Object

Object representing the Command in the DashboardMenu

Properties
Name Type Description
icon string

Icon class for the element

onClick function

Function handling onClick event of the command

tooltip string

Tooltip string that is displayed on hovering the command icon *

addCommands(…commands)

Injects commands into the DashboardMenu, and then renders the component

Parameters:
Name Type Attributes Description
commands Array.<Object> <repeatable>

Objects representing the Commands in the DashboardMenu

Properties
Name Type Description
icon string

Icon class for the element

onClick function

Function handling onClick event of the command

tooltip string

Tooltip string that is displayed on hovering the command icon