Element matches

December 1, 2018 ยท View on GitHub

Build Status Coverage Status Greenkeeper badge WebReflection status

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.

Live test