The element's view type, if initializing MVC.
The element's data type, if initializing MVC.
The element's model type, if initializing MVC.
The element's emitter type, if initializing MVC.
ReadonlyinitializedReadonlydataStatic ReadonlyconfigProtectedmvcReadonlyonReadonlyonReadonlyonProtectedgetProtected 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).
StaticconfigureThe object containing the new configurations.
ProtectedsetupProtectedsetupProtectedsetupProtectedsetup
TurboElement
Description
Base TurboElement class, extending the base HTML element with a few useful tools and functions.