InterviewSolution
Saved Bookmarks
| 1. |
Explain how an application event propagates in the context of Salesforce Lighting. |
|
Answer» For the propagation of application events, the framework offers the CAPTURE, bubble, and default phases. The capture and bubble phases are similar to DOM handling patterns in that they allow interested components to engage with an EVENT and perhaps impact later handler behaviour. The framework's INITIAL handling behaviour is preserved in the default phase. The source component is the component that fires an event. The framework enables you to manage the event in stages. These phases provide you with the FREEDOM to decide how to handle the event in your application. The phases are as follows:
|
|