selector-query
v1.0.1
Published
inverse document.querySelector
Downloads
16
Maintainers
Readme
selector-query
querySelector >< selectorQuery
##usage
var selectorQuery = require('selector-query')
documnet.addEventListner('click', function(e) {
console.log(selectorQuery(e.target)) // *click* -> '#foo div.bar:nth-child(3) span'
})