0.1.0 • Published 6 years ago

@wearegenki/animate v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 years ago

@wearegenki/animate

Lightweight library for complex web animations.

Overview

Based on the excellent Animate Plus but with the following changes:

  • replace async/await with Promise

Usage

Install

yarn add @wearegenki/animate
# OR
npm install @wearegenki/animate

Import and use

import animate from '@wearegenki/animate';

animate({
  elements: 'div',
  duration: 2000,
  delay: index => index * 100,
  transform: ['scale(0)', 'scale(1)']
})
.then(options => animate({
  ...options,
  transform: ['translate(0%)', 'translate(500%)']
}));

See the Animate Plus documentation for API usage information.

Licence

@wearegenki/animate is an Apache-2.0 licensed open source project. See LICENCE.


© 2018 We Are Genki

0.1.0

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago