0.1.0 • Published 11 years ago
matches-selector-2 v0.1.0
matches-selector
Check if an element matches a given selector.
Installation
$ component install component/matches-selector
Example
var matches = require('matches-selector');
matches(el, 'ul li a');
// => true
License
MIT
0.1.0
11 years ago