Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/eligrey/classList.js
- Owner: eligrey
- License: unlicense
- Created: 2010-10-12T23:36:18.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T21:13:12.000Z (almost 6 years ago)
- Last Synced: 2024-05-20T08:03:09.149Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 60.5 KB
- Stars: 1,103
- Watchers: 30
- Forks: 237
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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"