Nihilism Philisophy Major

    easy-classlist

    0.0.1 • Public • Published

    easy-classlist

    Build Status

    Cross-browser element class manipulation

    Installation

    npm install easy-classlist
    

    Example

    var classList = require('easy-classlist');
    var elem = document.getElementById('elem');
     
    classList(elem).add('bar').remove('bar').toggle('bar');
    classList(elem).contains('bar');

    License

    (MIT License)

    Copyright (c) 2016 calledT

    Install

    npm i easy-classlist

    DownloadsWeekly Downloads

    6

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • calledt