siblings
get siblings for a dom element, optionally filtered by a css selector
Last updated 6 years ago by maxogden .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install siblings 
SYNC missed versions from official npm registry.

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'

Current Tags

  • 1.0.1                                ...           latest (6 years ago)

3 Versions

  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 14
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |