composed option

An event option that lets an event cross from inside a shadow DOM out into the regular document.

In more detail

Built-in user interface events such as click are composed by default; custom events are not. Without composed: true, an event dispatched inside a component's shadow root stops at the shadow boundary.

Related terms

Taught in

References