ReadonlyinitializedStatic ReadonlyconfigProtectedgetProtected FunctiongetPropertiesValue
The actual value; could be null.
OptionalconfigFieldName: stringThe field name of the associated value in the static config. Will be returned if the actual value is null.
OptionaldefaultValue: TypeThe default fallback value. Will be returned if both the actual and config values are null.
Functioninitialize
Initializes the element. It sets up the UI by calling the methods setupUIElements,
setupUILayout, setupUIListeners, and setupChangedCallbacks (in this order, if they are defined).
This function is called automatically in .setProperties() and when instantiating an
element via element(). It is called only once per element (as it checks with the reflected initialized flag).
Staticconfigure
TurboBaseElement
Description
TurboHeadlessElement class, similar to TurboElement but without extending HTMLElement.
Template: ViewType
The element's view type, if initializing MVC.
Template: DataType
The element's data type, if initializing MVC.
Template: ModelType
The element's model type, if initializing MVC.
Template: EmitterType
The element's emitter type, if initializing MVC.