Just Animate Versions Save

Making Animation Simple

v2.6.2

5 years ago

This should provide the proper behavior when using props: {} to animate an svg element. Listing the elements as readonly svg props changes the setter behavior to use setAttribute. This is the same strategy used with viewBox.

v2.6.0

5 years ago

Moved typings alongside their definitions. This should also work well with the lib.es2015 directory.

1.0.1

7 years ago

See https://notoriousb1t.com/just-animate-1-0-0-beta/ for a breakdown of the larger features

0.6.2

7 years ago

Before starting on 1.0.0, I went through and added unit tests for all helper methods and improved the structure of the project so it would be simpler.

0.6.1

7 years ago
  • Added min file for systemjs for CDN
  • updated build tools

0.6.0

7 years ago

In previous versions, any css property used in the animation needed a starting and ending value. Now when JustAnimate processes keyframes, it uses the first value for a given property as the starting value and the last value for a given property as the end value. For instance:

const keyframes = [
   { color: 'red' },
   { opacity: 0 },
   { color: 'blue' },
   { opacity: 1 }
];

const timings = {
   duration: 2000
};

Just.animate(keyframes, '#target', timings);

In the example, the initial color will be red, and the final color will be blue.
The initial opacity will be 0, and the final value will be 1.

0.5.0

7 years ago
  • Added fill and stroke properties
  • fixed various bugs

0.4.4

8 years ago

Added Angular2 and SystemJS support. To install for these environments, run this command at the top level of your project on a command line

npm install just-animate --save

Then when the application is being bootstrapped, inject your animation pack:

import { JustAnimate, animations } from 'just-animate';

JustAnimate.inject(animations.ANIMATE_CSS);

To animate, call animate on an instance of JustAnimate

import { JustAnimate, animations } from 'just-animate';

var just = new JustAnimate();
just.animate('fadeIn', '#animate-me');

0.4.0

8 years ago

updated api to work better with angular2

  • moved to rollup from webpack
  • moved to npm scripts from gulp
  • split just-animate.js into two files (core, animations) for browsers so users can opt into using the Animate.css animations
  • refactored interfaces into a definitely typed file
  • updated browser version (core) to have an inject method to allow angular2 to inject the animations into the Animation Manager prior to being instantiated
  • updated demos

0.3.0

8 years ago
  • Initial Timeline animator is implemented!
  • CurrentTime and duration are not available for all animators
  • ElementAnimator properly stays at the end of animation on finish