0.0.1-alpha.2 • Published 4 years ago
@dom-shims/element.closest v0.0.1-alpha.2
Element.closest
Element returns the nearest parent element
install
$ npm i @dom-shims/element.closest
Usage
require('@dom-shims/element.closest');
Element.closest
Element returns the nearest parent element
$ npm i @dom-shims/element.closest
require('@dom-shims/element.closest');