Need private packages and team management tools?Check out npm Teams »

class-list

0.1.1 • 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

DownloadsWeekly Downloads

26,879

Version

0.1.1

License

none

Last publish

Collaborators

  • avatar