0.2.0 • Published 5 years ago
@ungap/element-matches v0.2.0
Element matches
An Element matches polyfill.
- CDN, as global
elementMatches
utility, via https://unpkg.com/@ungap/element-matches - ESM via
import matches from '@ungap/element-matches'
- CJS via
const matches = require('@ungap/element-matches')
Compatible with every JS engine with a DOM environment.