class-list-shim

Fork of Raynos/class-list compatible with IE8

npm install class-list-shim
2 downloads in the last week
4 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