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
|
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
|