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');