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). Instances should not be reused.

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. The callback always returns a new callback that can be used for further updates.

.name

string

Inherited from ManagedEvent.name.

.freeze()

(): Readonly<this>

Inherited from ManagedEvent.freeze.