Salesforce
CRT-450 · Question #200
Which two characteristics are true for Lightning Web Component custom events? Choose 2 answers
The correct answer is B. By default a custom event only propagates to its immediate container and to its immediate child D. Data may be passed in the payload of a custom event using a property called detail. See the full explanation below for the reasoning.
Question
Which two characteristics are true for Lightning Web Component custom events? Choose 2 answers
Options
- AData may be passed In the payload of a custom event using a wire decorated properties.
- BBy default a custom event only propagates to its immediate container and to its immediate child
- CBy default a custom event only propagates to it's immediate container.
- DData may be passed in the payload of a custom event using a property called detail.
How the community answered
(33 responses)- A12% (4)
- B70% (23)
- C18% (6)
Community Discussion
No community discussion yet for this question.