classlist.js

1.1.20150312 • Public • Published

classList.js is a cross-browser JavaScript shim that fully implements element.classList. Refer to the MDN page on element.classList for more information.

This works in every browser except IE 7 or earlier.

An older version is hosted at public CDNs, allowing you to use this already small file at nearly zero size overhead. Use one of these URLs:

If you would like other versions (such as the current one) hosted there, follow the instructions at https://github.com/jsdelivr/jsdelivr and https://github.com/cdnjs/cdnjs to prepare a pull request.

Tracking image

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.20150312
    383,391

Package Sidebar

Install

npm i classlist.js

Weekly Downloads

110,376

Version

1.1.20150312

License

Dedicated to the public domain

Last publish

Collaborators

  • tbranyen