Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Platform Developer I Topic 1 Question 108 Discussion

Actual exam question for Salesforce's Platform Developer I exam
Question #: 108
Topic #: 1
[All Platform Developer I Questions]

Which Lightning Web Component custom event property settings enable the event to bubble up the containment hierarchy and cross

the Shadow DOM boundary?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Charisse
7 days ago
I'm not sure about this one. Isn't 'composed: true' the key to making the event cross the Shadow DOM boundary? I'll have to double-check the documentation on that.
upvoted 0 times
...
Gwen
8 days ago
I'm not sure, but I think composed: true is also needed to cross the Shadow DOM boundary.
upvoted 0 times
...
Chantell
8 days ago
Hmm, I think option C is the correct answer. The 'bubbles: true' property allows the event to bubble up the containment hierarchy, and 'composed: true' ensures the event can cross the Shadow DOM boundary.
upvoted 0 times
...
Juan
15 days ago
I agree with Emogene, because setting bubbles to true allows the event to bubble up the containment hierarchy.
upvoted 0 times
...
Emogene
17 days ago
I think the correct answer is C) bubbles: true, composed: true.
upvoted 0 times
...

Save Cancel