1.0.5 • Published 8 years ago

bubble-match v1.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago