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
UIBeforeRenderEventis emitted only once, before a component is rendered the first time, and can be observed using anonBeforeRenderpreset handler property. By contrast, a plainUIComponentEventis 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 anonRenderedpreset 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.