Home

Awesome

attachshadow

donate License: ISC

An iframe based Shadow DOM poorlyfill

Features

Missing

hyperHTML(el.shadowRoot)
  `<p onclick=${() => console.log('🎉')}></p>`;

What this is not

CDN

You can use https://unpkg.com/attachshadow as CDN for this library.

Test

Please visit the test page and click on the button to see in console the propagated event in IE9 or any other browser.

You can also test more modern browsers in this good old CSS Tricks demo.