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.
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.
StaticdefaultReadonlypropertiesReadonlyinitializedThe properties passed on to children created through feedforward, letting a parent seed its descendants with shared defaults.
ReadonlydataStaticcreateFunction
create
Optionalproperties: This["prototype"]["properties"] & ElementTagDefinition<ElementTag> & Omit<Properties to set on the new instance.
The created instance.
Instantiate this class with the given properties. Defaults declared by every class in the
inheritance chain are applied first, nearest ancestor last, so a subclass' defaultProperties win over
its parent's. The return type follows the class it is called on, so a subclass gets its own type back.
Protected StaticcustomProtected Function
Properties to set on the new instance, defaults already merged in.
The created instance.
The construction step behind create. Override it to change how instances of a class
are built — to route through a factory, or to wrap the instance — while keeping the default-merging that
create performs.
ProtectedsetupProtectedsetupProtectedsetupProtectedsetupFunction
initialize
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).
Function
feedforward
Optionalproperties: FeedforwardProperties
Properties to feed forward. Defaults to
defaultFeedforwardProperties.
Itself, allowing for method chaining.
Function
clone
Optionaloptions: CloneElementOptions
What to carry over to the copy.
The cloned element.
GradumProxiedElement
Description
GradumProxiedElement class, similar to GradumElement but containing an HTML element instead of being one.