PDI · Question #66
Which two are phases in the Aura application event propagation framework? Choose 2 answers
The correct answer is C. Default D. Bubble. The Aura application event propagation framework defines three phases for events to travel through the component hierarchy: Capture, Bubble, and Default.
Question
Which two are phases in the Aura application event propagation framework? Choose 2 answers
Options
- AEmit
- BControl
- CDefault
- DBubble
How the community answered
(16 responses)- A6% (1)
- B6% (1)
- C88% (14)
Why each option
The Aura application event propagation framework defines three phases for events to travel through the component hierarchy: Capture, Bubble, and Default.
'Emit' describes the action of firing an event, not a distinct propagation phase within the Aura event model.
'Control' is not a recognized propagation phase in the Aura application event framework; the standard phases are Capture, Bubble, and Default.
The Default phase is one of the three standard propagation phases for Aura application events, where event handlers for the event can execute after the Capture and Bubble phases, typically on the component that fired the event or its specific handlers.
The Bubble phase is a key propagation phase for Aura application events, where the event travels up the component hierarchy from the source component to the root, allowing intermediate components to handle it.
Concept tested: Aura application event propagation phases
Source: https://developer.salesforce.com/docs/component-library/documentation/en/aura/js_events_application_phases
Topics
Community Discussion
No community discussion yet for this question.