phpeek-matches-selector

0.1.7 • 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

Package Sidebar

Install

npm i phpeek-matches-selector

Weekly Downloads

28

Version

0.1.7

License

MIT

Last publish

Collaborators

  • phpeek