class-list
A cross browser class list
Last updated 12 years ago by raynos .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install class-list 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.1                                ...           latest (12 years ago)

3 Versions

  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |