UIBeforeRenderEvent
class UIBeforeRenderEvent
extends
ManagedEvent
Event that is emitted on a particular UI component before it is fist rendered, only once. Instances should not be reused.
Note: The
UIBeforeRenderEvent
is emitted only once, before a component is rendered the first time, and can be observed using anonBeforeRender
preset handler property. By contrast, a plainUIComponentEvent
is emitted each time after a UI component is rendered, i.e. whenever a change occurs to its display properties (or its child components’), which can be observed using anonRendered
preset handler property.
Constructor
<TSource extends UIComponent>(source: TSource): UIBeforeRenderEvent<TSource>
.source
TSource
Event source UI component.
.name
string
Inherited from ManagedEvent.name
.
.freeze()
(): Readonly<this>
Inherited from ManagedEvent.freeze
.