Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

class-list-shim

0.1.0 • Public • Published

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

Keywords

none

install

npm i class-list-shim

Downloadsweekly downloads

1

version

0.1.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar