JSPM

polyfill-pseudoclass-has

0.0.1-alpha.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2643
  • Score
    100M100P100Q129052F
  • License MIT

A polyfill that adds support for the CSS pseudo-class :has() to the DOM Selectors API (by extending .querySelector(), .querySelectorAll(), .matches(), .closest() or called directly)

Package Exports

  • polyfill-pseudoclass-has
  • polyfill-pseudoclass-has/dist/esm/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (polyfill-pseudoclass-has) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Polyfill for CSS pseudo-class :has() in DOM Selectors API

A polyfill that adds support for the CSS pseudo-class :has() to the DOM Selectors API (by extending .querySelector(), .querySelectorAll(), .matches(), .closest() or called directly)