1.0.1 • Published 10 years ago
siblings v1.0.1
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'
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'