Get unlimited public & private packages + team-based management with npm Teams.Learn more »

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

20,985

Version

0.1.1

License

none

Last publish

Collaborators

  • avatar