eligrey/classList.js

Cross-browser element.classList

JavaScript

1,099

95 commits

updated Oct 18, 2018

See the code

README

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.

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

eligrey/classList.js

Cross-browser element.classList

JavaScript

1,099

95 commits

updated Oct 18, 2018

See the code

README

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.

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

Project health

Overall

2.5/10

Maintained

0/10

Code review

3/10
OpenSSF Scorecard

Latest release

1.1.20150312 · Oct 15, 2015

Releases this year

0

Significant stargazers

Domenic Denicola

5,639 followers · starred Feb 2011

Matt Sturgeon

67 followers · starred Aug 2013

Farnabaz

367 followers · starred May 2017

Aleen

405 followers · starred Apr 2023