Method Summary
- add(node,classStr)Adds the specified classes to the end of the class list on the passed node.
- contains(node,classStr)Returns whether or not the specified classes are a portion of the class list currently applied to the node.
- remove(node,classStr)Removes the specified classes from node.
- replace(node,addClassStr,removeClassStr)Replaces one or more classes on a node if not present.
- toggle(node,classStr,condition)Adds a class to node if not present,or removes if present.