1.0.5 • Published 10 years ago

bubble-match v1.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

bubble-match

returns the first element that matches options.filter when tracking parents from options.el to options.parent

##installation:

npm install --save bubble-match

##usage:

const bubbleMatch = require('bubble-match');

##documentation:

el

bubble-match will start searching for a matching element with the element passed through options.el

parent

bubble-match will search up to, but not include, options.parent unless matchParent: true is passed in

matchParent

if true, bubble-match will include options.parent in its search for a matching element

filter

selector criteria for matching element

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago