css-animation

WebJar for css-animation

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

css-animation
Last Version

Last Version

1.6.1
Release Date

Release Date

Type

Type

jar
Description

Description

css-animation
WebJar for css-animation
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/yiminghe/css-animation

Download css-animation

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : babel-runtime jar [6,7)
org.webjars.npm : component-classes jar [1.2.5,2)

Project Modules

There are no modules declared in this project.

css-animation


make css animation easier

NPM version

Development

npm install
npm start

Example

http://localhost:6006/

online example: http://yiminghe.github.io/css-animation/

Feature

  • support ie8,ie8+,chrome,firefox,safari

install

css-animation

Usage

import anim from 'css-animation';
anim(el,animationName,function(){});

API

void anim(el:DOMElement, animationName:String, callback:Function)

name type default description
el DOMElement dom element to be animated
animationName String|Object will add animationName (if string) or animationName.name (if object) as class to el, then setTimeout 0 to add ${animationName}-active (if string) or animationName.active (if object) to el
callback Function triggered when anim caused by animationName is done

License

css-animation is released under the MIT license.

Versions

Version
1.6.1
1.5.0
1.4.1
1.3.2
1.2.5