Need private packages and team management tools?Check out npm Teams »

element-closest-polyfill

1.0.0 • Public • Published

element-closest-polyfill

npm npm bundle size (minified)

A minimal polyfill for Element.closest(), using MDN's implementation. Mostly meant for Microsoft IE.

Install

$ npm install --save element-closest-polyfill

Usage

Pick your favorite:

require("element-closest-polyfill");
import 'element-closest-polyfill';

Install

npm i element-closest-polyfill

DownloadsWeekly Downloads

15,654

Version

1.0.0

License

MIT

Unpacked Size

2.67 kB

Total Files

4

Last publish

Collaborators

  • avatar