Control
Source: Control.ts:14
Base control class. All other controls extend from this class.
Constructor
new Control(): ControlParameters
options.autoActivate(Boolean, optional, default: true) — If true - calls initialize function after the renderer assigning.
Instance Methods
oninit()
Control initialization function have to be overridden.
onadd()
Control renderer assigning function have to be overridden.
onremove()
Control remove function have to be overridden.
onactivate()
Control activation function have to be overridden.
ondeactivate()
Control deactivation function have to be overriden.
addTo()
Assign renderer to the control.
remove()
Removes control.
activate()
Activate control.
deactivate()
Deactivate control.
isActive()
Is control active.
Instance Fields
name
Returns control name.
Returns
string