matches-selector-2

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i matches-selector-2

Weekly Downloads

446

Version

0.1.0

License

none

Last publish

Collaborators

  • tjholowaychuk