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 an onBeforeRender preset handler property. By contrast, a plain UIComponentEvent 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 an onRendered 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.