class-list
v0.1.1
Published
A cross browser class list
Downloads
181,731
Readme
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