Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eligrey/classList.js

Cross-browser element.classList
https://github.com/eligrey/classList.js

Last synced: about 2 months ago
JSON representation

Cross-browser element.classList

Awesome Lists containing this project

README

        

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

This works in every browser except IE 7 or earlier.

classList.js is available on these public CDN URLs, allowing you to use this already small file at nearly zero size overhead.

-
-

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](https://in.getclicky.com/212712ns.gif)

[1]: https://developer.mozilla.org/en/DOM/element.classList "MDN / DOM / element.classList"