The enforcers (if any) attached to the element's MVC structure.
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.
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).
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.
TurboDropdown
Description
Dropdown class for creating Turbo button elements.