Pregunta:
Since events dispatched inside a shadowRoot are not visible outside that root, what can be done to make an event pass through the shadow DOM boundary?
Autor: John PencolaRespuesta:
Set the "composed" property to "true". Note: It's common to pair composed with bubbles so that all nodes in the DOM tree can see the event:
0 / 5 (0 calificaciones)
1 answer(s) in total