class helper functions
Switch branches/tags
Pull request Compare This branch is 17 commits behind desandro:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
bower.json
classie.js

README.md

Classie - class helper functions

Ripped from bonzo ❤️ @ded

classie.has( element, 'my-class' ) // returns true/false
classie.add( element, 'my-new-class' ) // add new class
classie.remove( element, 'my-unwanted-class' ) // remove class
classie.toggle( element, 'my-class' ) // toggle class

Bower

This script is a Bower component.

bower install desandro/classie