Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ children Public archive

get the children of an element

License

Notifications You must be signed in to change notification settings

sergioramos/children

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

children

inspired by jQuery

install

component install ramitos/children

api

var children = require('children')

var anchors = children(document.body, 'a')

var hrefs = anchors.map(function (anchor) {
  return anchor.href
})

var body_childrens = children(document.body)

license

MIT

About

get the children of an element

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published