shadow DOM events
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
browser ⟩ web components ⟩ implement ⟩ shadow DOM ⟩ events
when an that originates in the and begins to propagate in the , its property is changed to the shadow host element, so it appears to have originated directly on that element.
if a needs to know when the light DOM content of a has changed, it can register a listener for “slotchanged” events directly on the element.