UIRenderEvent

class UIRenderEvent

extends ManagedEvent

Event that is emitted on a particular UI component when it is rendered, to be handled by a platform specific renderer (observer). Should not be propagated.

Constructor

<TSource extends UIComponent>(source: TSource, renderCallback: RenderCallback<Output<UIRenderable, any>>): UIRenderEvent<TSource>

.source

TSource

Event source UI component.

.renderCallback

RenderCallback<Output<UIRenderable, any>>

Initial render callback, to be called only once.

.name

string

Inherited from ManagedEvent.name.

.freeze()

(): Readonly<this>

Inherited from ManagedEvent.freeze.