Caplin Trader 5.1.0

Class: module:br-presenter/control/ControlAdaptorFactoryClass

module:br-presenter/control/ControlAdaptorFactoryClass()

Repository for presenter controls referenced in HTML templates. All custom controls are registered here.

Constructor

new module:br-presenter/control/ControlAdaptorFactoryClass()

Methods

registerConfiguredControlAdaptor(sName, fControlAdaptorConstructor, mConfigOptions)

Registers a presenter control module:br-presenter/control/ControlAdaptor.

Parameters:
Name Type Description
sName String

The name the control is referred to in the HTML binding attribute.

fControlAdaptorConstructor function

The constructor function of the class that implements the control.

mConfigOptions Object

A Map of options used to configure the control.