sn-polyfills

Web Component polyfills for UX components

Usage no npm install needed!

<script type="module">
  import snPolyfills from 'https://cdn.skypack.dev/sn-polyfills';
</script>

README

sn-polyfills

Loads native polyfills including web component polyfills.

After the polyfills are loaded developer defined scripts are then loaded. snComponentLoader.load accepts a one or two dimensional array. Scripts in the second dimension are loaded in parallel, while scripts in the first are loaded serially.

snComponentLoader.load([['sn-component-a', 'sn-component-b'], 'sn-component-c']);