Ripped from bonzo ❤️ @ded
Forked by Jeremy Bloomstrom jeremy@in.genio.us
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
Install with Bower 🐦 bower install classie
Install with npm npm install desandro-classie
Install with Component component install desandro/classie
Install with Composer composer require ingenious/classie
classie is released under the MIT license.