Methods
-
hobo(selector, context) → {Hobo}
-
Wrapper for
Hobo
instances.Parameters:
Name Type Description selector
string The parameter passed to
querySelectorAll
context
element The Element used to call
querySelectorAll
- Source:
Returns:
- Type
- Hobo
-
matchElement(el, selector, walk)
-
Use native element selector matching
Parameters:
Name Type Description el
object the element
selector
string the selector to match
walk
boolean should we walk the tree if el is not a match?
- Source:
Returns:
element OR null