Closest Packages

closest-all

The closestAll(htmlElement, selectors) function traverses the element and its parents (heading toward the document root), finding all nodes that matches the specified CSS selector.

0.0.1 • Published 1 year ago