Caplin Trader 5.1.0

Class: module:ct-menu/presenter/Control

module:ct-menu/presenter/Control()

new module:ct-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:ct-menu/presenter/node/Menu as the control node.