up.element.subtree(root, selector)
JavaScript function
Returns a list of a root element's descendants matching the given selector.
If the root element itself matches the selector, it is also included in the returned list.
Parameters
root
selector
required
The CSS selector to match.
Type: string