SkillAgentSearch skills...

ClassList.js

Cross-browser element.classList

Install / Use

/learn @eligrey/ClassList.js
About this skill

Quality Score

0/100

Supported Platforms

Universal

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

View on GitHub
GitHub Stars1.1k
CategoryDevelopment
Updated3h ago
Forks226

Languages

JavaScript

Security Score

95/100

Audited on Apr 2, 2026

No findings