class-list

A cross browser class list

npm install class-list
31 downloads in the last day
191 downloads in the last week
791 downloads in the last month

class-list

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

  • Raynos

MIT Licenced

npm loves you