Skip to content

idmadj/element-closest-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

element-closest-polyfill

npm npm bundle size (minified)

A minimal polyfill for Element.closest() and Element.matches(), using MDN's implementation. Mostly meant for Microsoft IE9+.

Install

$ npm install --save element-closest-polyfill

Usage

Pick your favorite:

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

About

A minimal polyfill for Element.closest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •