Kevin 4e25309391 correction && add form && add slide && add masonry && css hace 4 años
..
.npmignore 4e25309391 correction && add form && add slide && add masonry && css hace 4 años
README.md 4e25309391 correction && add form && add slide && add masonry && css hace 4 años
bower.json 4e25309391 correction && add form && add slide && add masonry && css hace 4 años
matches-selector.js 4e25309391 correction && add form && add slide && add masonry && css hace 4 años
package.json 4e25309391 correction && add form && add slide && add masonry && css hace 4 años
tests.html 4e25309391 correction && add form && add slide && add masonry && css hace 4 años
tests.js 4e25309391 correction && add form && add slide && add masonry && css hace 4 años

README.md

matchesSelector helper

matches/matchesSelector is pretty hot :fire:, but has vendor-prefix baggage :handbag: :pouch:. This helper function takes care of that, without polyfilling or augmenting Element.prototype.

matchesSelector( elem, selector );
// for example
matchesSelector( myElem, 'div.my-hawt-selector' );

Install

Download matches-selector.js

Install with Bower: bower install matches-selector

Install with npm: npm install desandro-matches-selector

Browser support

IE10+, all modern browsers

Use matchesSelector v1 for IE8 and IE9 support.

MIT license

matchesSelector is released under the MIT license