The main data block (if any) attached to the element, taken from its model (if any).
dataId
dataId:string
Description
The ID of the main data block (if any) of the element, taken from its model (if any).
dataIndex
dataIndex:number
Description
The numerical index of the main data block (if any) of the element, taken from its model (if any).
ReadonlydataSize
dataSize:number
Description
The size (number) of the main data block (if any) of the element, taken from its model (if any).
unsetDefaultClasses
unsetDefaultClasses:boolean
Description
Whether to set the default CSS classes defined in the static config on the element or not. Setting
it will accordingly add/remove the CSS classes from the element.
Returns the value with some fallback mechanisms on the static config field and a default value.
destroy
destroy():this
Function
destroy
Returns this
Itself, allowing for method chaining.
Description
Destroys the node by removing it from the document and removing all its bound listeners.
initialize
initialize():void
Function
initialize
Returns void
Description
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
configure(value:any):void
Parameters
value: any
The object containing the new configurations.
Returns void
Description
Update the class's static configurations. Will only overwrite the set properties.
TurboProxiedElement
Description
TurboProxiedElement class, similar to TurboElement but containing an HTML element instead of being one.