element.prototype.matches

A simple polyfill that consolidates the various vendor specific implementation of `Element.prorotype.matches` so that it can be used in it’s standardized format.

Usage no npm install needed!

<script type="module">
  import elementPrototypeMatches from 'https://cdn.skypack.dev/element.prototype.matches';
</script>

README

Element.prototype.matches - polyfill

A simple polyfill that consolidates the various vendor specific implementation of Element.prorotype.matches so that it can be used in it’s standardized format.

Install

npm install Element.prototype.matches

Usage

import 'element.prototype.matches';

require('element.prototype.matches');