New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@df-legacy/classie

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@df-legacy/classie

class helper functions

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

classie - class helper functions

Ripped from bonzo :heart: @ded

No longer supported

Use classie only if you need to support older browsers that do not support classList. classList is supported in IE10+, Android 3+, iOS Safari 5.1+, and modern evergreen browsers. Can I use classList?

classie is longer supported. v1.0.1 is the final version.

Usage

classie.has( element, 'my-class' ) // returns true/false
classie.add( element, 'my-new-class' ) // add new class
classie.remove( element, 'my-unwanted-class' ) // remove class
classie.toggle( element, 'my-class' ) // toggle class

Package management

Install with Bower :bird: bower install classie

Install with npm npm install desandro-classie

Install with Component component install desandro/classie

MIT license

classie is released under the MIT license.

Keywords

class

FAQs

Package last updated on 04 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts