Skip to content

shurochkin/classie

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Package management

Install with Bower 🐦 bower install classie

Install with npm npm install desandro-classie

Install with Component component install desandro/classie

MIT license

classie is released under the MIT license.

About

class helper functions

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%