Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

classlist-polyfill

yola1mUnlicense1.2.0

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

classList, polyfill, shim, cross-browser

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.

changelog

Changelog

1.2.0

1.0.3

  • Add support for missing SVGElement.classList in IE

1.0.2

  • Fix issue with self not being defined in CommonJS