Sign in Sign up
npm

@zcomp/closest

Same as `$.fn.closest` from jQuery, but without jQuery. Does not modify any global objects or prototypes. Gracefully falls back to using native `Element.closest` and `Element.matches` if ones are available. The only requirement is native `Element.query

npm View on Npm

Activity

Latest release
8y ago
Total releases
4
Cadence
~daily
Last 12 months
0

Details

License
MIT
First release
Dec 13, 2017
Releases
Version Released
0.0.4 patch
0.0.3 patch
0.0.2 patch
0.0.1 initial