Caplin Trader 4.7.1

Class: module:caplin/menu/presenter/Control

module:caplin/menu/presenter/Control

Constructor

new module:caplin/menu/presenter/Control()

This class is constructed by presenter automatically on your behalf. A control adaptor that allows to render menus within presenter.

The Menu control is aliased by caplin.menu, and can be used within templates as follows:

  <span data-bind="controlNode:menuNode, control:'caplin.menu'"></span>

Keep in mind that your menu control will have to include a module:caplin/menu/presenter/node/Menu as the control node.