siblings
v1.0.1
Published
get siblings for a dom element, optionally filtered by a css selector
Downloads
22
Readme
siblings
get siblings for a dom element, optionally filtered by a css selector
var siblings = require('siblings')
siblings(el, '.foo') // gets all siblings of `el` that have class 'foo'