Caplin Trader 4.7.1

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