An open API service indexing awesome lists of open source software.

https://github.com/npm-dom/class-list

A cross-browser class list
https://github.com/npm-dom/class-list

Last synced: about 1 month ago
JSON representation

A cross-browser class list

Awesome Lists containing this project

README

          

# class-list

[![browser support][11]][12]

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

[11]: https://ci.testling.com/Raynos/class-list.png
[12]: https://ci.testling.com/Raynos/class-list