pdi question 288 discussion

View all Platform Developer I Exam here
back to salesforce forum

Question 288

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?

  • A. Fire a notification.
  • B. Update a property on the parent.
  • C. Call a method in the Apex controller.
  • D. Create a custom event.
Answer:

D


User Votes:
A 1 votes
50%
B 1 votes
50%
C 1 votes
50%
D 5 votes
50%
Discussions
0 / 1000
Soukoum
1 year ago

Answer is D