element-closest
![](https://img.jsdelivr.com/github.com/jonathantneal.png)
esm
Return the closest element matching a selector up the DOM tree
Version 3.0.2 License CC0-1.0
Keywords
javascriptjsdomdocumentelementnodeclosestmatchespolyfillwebstandard
INSTALL
Return the closest element matching a selector up the DOM tree