on()
Handles propagated events from the nested view.
on(
eventName: string,
handler: string | ViewBuilderEventHandler<UIShowView>,
): this;
Notes
- This method can be used to handle events before they’re propagated from the nested view to this view. It works in the same manner as UIElement.ElementBuilder.on() for UI elements.
Parameters
- eventName — The name of the event to handle
- handler — The function to call, or name of the event to emit instead
Return value
The builder instance for chaining.
Related
class ShowBuilder static
A builder class for creatingUIShowViewinstances.
