Download Latest Version v4.1.2 source code.tar.gz (3.0 MB)
Email in envelope

Get an email when there's a new version of anime.js

Home / v4.0.2
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-04-24 1.1 kB
v4.0.2 source code.tar.gz 2025-04-24 2.7 MB
v4.0.2 source code.zip 2025-04-24 2.8 MB
Totals: 3 Items   5.6 MB 1

Fixes

Timer

  • Fixes floating point inaccuracies with .stretch(). (#1005)

SVG

  • Fixes stroke-linecap defined in a stylesheet overriding with createDrawable() attributes. (#1002)
  • Fixes createDrawable() line effect issues when the attribute / property vector-effect is set to "non-scaling-stroke". (#793)

WAAPI

  • Fixes a Promise issue with WAAPI animations when the complete() method is called before the animation plays. (#1001)
  • Prevents conflicts between user defined CSS Custom Properties and the WAAPI animate() properties. (#1000)
  • Fixes a caching issue that prevented to use different parameters for the same easing function. (#999)

Draggable

  • Fixes .revert() not properly properly reverting the draggable internal Animatable, keeping the x and y styles defined. (#997)
  • Fixes onSettle() triggering on the onComplete callback of the x property, before the y property has updated, causing the draggable to sometimes not go back to its initial position. (#997)

Types

  • Added Draggable params to exported types [#969] by @AdeboyeDN. (#1004)
Source: README.md, updated 2025-04-24