hidden-attribute-polyfill

Javascript polyfill for hidden attribute. Restores element.hidden functionality for IE < 11 etc.

Usage no npm install needed!

<script type="module">
  import hiddenAttributePolyfill from 'https://cdn.skypack.dev/hidden-attribute-polyfill';
</script>

README

hidden attribute polyfill

Implements element.hidden attribute for browsers that support Object.defineProperty.

Allows to use hidden property binding in IE 9, IE 10 within Angular 2.

Requires to use additional global style: [hidden] {display: none;}.