The following chart summarizes how the framework handles events.
The framework detects the firing of an event. For example, the event could be triggered by a button click in a notifier component.
2.1 Component Event
The parent or container component instance that fired the event is identified. This container component locates all relevant event handlers for further processing.
2.2 Application Event
Any component can have an event handler for this event. All relevant event handlers are located.
3.1 Executing a Component Event Handler
Each of the event handlers defined in the container component for the event are executed by the handler controller, which can also:
3.2 Executing an Application Event Handler
All event handlers are executed. When the event handler is executed, the event instance is passed into the event handler.
After the event handlers and any callback actions are executed, a component might be automatically re-rendered if it was modified during the event handling process.