Caplin Trader 4.0.3

Class: module:caplin/element/handler/EditHandler



new module:caplin/element/handler/EditHandler()

Applies the specified CSS class while the control is being edited by the user. Will remove class when a blur event is fired or when a blur key stroke is typed by the user i.e. tab or enter key.



initialise(renderer, attributes)

Allows the handler to perform any initialisation code on the renderer. This method is called after the renderer is bound to the view for the first time. Implementing this method is optional.
Name Type Description
renderer module:caplin/element/Renderer The renderer that is being initialised
attributes Map Any configuration parameters for this handler.
Inherited From: