JSPM

classlist-polyfill

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 286201
  • Score
    100M100P100Q171618F
  • License Unlicense

Cross-browser JavaScript shim that fully implements element.classList (referenced on MDN)

Package Exports

  • classlist-polyfill
  • classlist-polyfill/src/index

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 (classlist-polyfill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

classlist-polyfill

Polyfill for element.classList.

This is a published fork of classList.js.

Installation

Download using NPM:

npm install classlist-polyfill

Download using Bower:

bower install classlist-polyfill

What is the purpose of this repo?

The upstream maintainer has decided not to publish.

Contributing

Preferably all changes are made upstream.