Singleton
caplin.presenter.control

ControlAdaptorFactory

The class is still in Beta and is subject to API changes.
Repository for presenter controls referenced in HTML templates. All custom controls are registered here.

Constructor Summary

Attributes Name and Description
caplin.presenter.control.ControlAdaptorFactory()

Method Summary

Attributes Name and Description
void registerConfiguredControlAdaptor(String sName, Function fControlAdaptorConstructor, Object mConfigOptions)

Registers a presenter control caplin.presenter.control.ControlAdaptor.

Constructor Detail

caplin.presenter.control.ControlAdaptorFactory()

Method Detail

void registerConfiguredControlAdaptor(String sName, Function fControlAdaptorConstructor, Object mConfigOptions)

Registers a presenter control caplin.presenter.control.ControlAdaptor.

Parameters
String sName The name the control is referred to in the HTML binding attribute.
Function fControlAdaptorConstructor The constructor function of the class that implements the control.
Object mConfigOptions A Map of options used to configure the control.