@ant-design/css-animation

WebJar for @ant-design/css-animation

License

License

MIT
Categories

Categories

Ant Build Tools
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

ant-design__css-animation
Last Version

Last Version

1.7.3
Release Date

Release Date

Type

Type

jar
Description

Description

@ant-design/css-animation
WebJar for @ant-design/css-animation
Project URL

Project URL

https://www.webjars.org

Download ant-design__css-animation

How to add to project

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

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.

css-animation


make css animation easier

NPM version

Development

npm install
npm start

Example

http://localhost:9001/examples/

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

Feature

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

install

css-animation

Usage

var anim = require('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

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

css-animation is released under the MIT license.

org.webjars.npm

Ant Design Team

A UI Design Language

Versions

Version
1.7.3
1.7.2