TreeviewCopyright © aleen42 all right reserved, powered by aleen42

Classie Back

Classie.js is an awesome mega lightweight script that allows you to add, remove, toggle, and check for classes in the DOM very easily.

Learn to use

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


<script src="js/classie.js"></script>
Empty Comments
Sign in GitHub

As the plugin is integrated with a code management system like GitLab or GitHub, you may have to auth with your account before leaving comments around this article.

Notice: This plugin has used Cookie to store your token with an expiration.