ingenious/classie

Composer fork of desandro/classie

Installs: 37

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

dev-master 2015-09-02 17:28 UTC

This package is auto-updated.

Last update: 2024-10-29 04:52:58 UTC


README

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

Package management

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

MIT license

classie is released under the MIT license.