dom-closest
necolas
js
For a given DOM element, find the first ancestor that matches a given CSS selector.
Version 0.2.0 License MIT
Keywords
browserclosestdomelement
INSTALL
For a given DOM element, find the first ancestor that matches a given CSS selector.