Home

Awesome

class-list

browser support

A cross browser class list

Example

var elem = someElement
    , ClassList = require("class-list")
    , cl = ClassList(elem)

cl.add("foo")
cl.remove("bar")
cl.toggle("baz")

Installation

npm install class-list

Contributors

MIT Licenced