classie

WebJar for classie

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

classie
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

classie
WebJar for classie
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/desandro/classie

Download classie

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/classie/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>classie</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/classie/
implementation 'org.webjars.bower:classie:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.bower/classie/
implementation ("org.webjars.bower:classie:1.0.1")
'org.webjars.bower:classie:jar:1.0.1'
<dependency org="org.webjars.bower" name="classie" rev="1.0.1">
  <artifact name="classie" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='classie', version='1.0.1')
)
libraryDependencies += "org.webjars.bower" % "classie" % "1.0.1"
[org.webjars.bower/classie "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

classie - class helper functions

Ripped from bonzo ❤️ @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 🐦 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.

Versions

Version
1.0.1