Caplin Trader 4.8.0

Class: module:caplin/component/menu/MenuItem

module:caplin/component/menu/MenuItem

Constructor

new module:caplin/component/menu/MenuItem(sDescription, fHandler)

This is in beta and therefore subject to API changes.

Constructs a caplin.component.menu.MenuItem instance.

Extends:
Parameters:
Name Type Description
sDescription String Description or name of this menu item.
fHandler function Action fired when this menu item is clicked.

Extends