Skip to content

dlutwuwei/classlist-polyfill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Cross-browser element.classList

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.4%
  • CoffeeScript 15.1%
  • Shell 4.3%
  • HTML 4.2%