Salesforce
PDI · Question #23
A developer is creating an app that contains multiple Lightning web components. One of the child components is used for navigation purposes. When a user click a button called.. component, the parent c
Sign in or unlock PDI to reveal the answer and full explanation for question #23. The question stem and answer options stay visible for context.
Submitted by brentm· Apr 18, 2026User Interface
Question
A developer is creating an app that contains multiple Lightning web components. One of the child components is used for navigation purposes. When a user click a button called.. component, the parent component must be alerted so it can navigate to the next page. How should this be accomplished?
Options
- AFire a notification.
- BUpdate a property on the parent.
- CCall a method in the Apex controller.
- DCreate a custom event.
Unlock PDI to see the answer
You've previewed enough free PDI questions. Unlock PDI for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Lightning Web Components#Custom Events#Child-to-Parent Communication#Inter-component Communication