Download Latest Version v4.2.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.2.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-10-05 758 Bytes
v4.2.1 source code.tar.gz 2025-10-05 3.0 MB
v4.2.1 source code.zip 2025-10-05 3.3 MB
Totals: 3 Items   6.3 MB 0

New features

  • SVG
  • createMotionPath(): Add an offset parameter (#1037) (@TheHyrox)
  • Draggable
  • createDraggable(): Add a dragThreshold parameter (#1091) (@craig-jennings)

Changes

  • Timer, Animation, Timeline
  • .reset(softReset): The softReset parameter type is now a Boolean instead of an int
  • Draggable
  • createDraggable(): The drag threshold is now 3px with a mouse and 7px with touch instead of 3px everywhere

Fixes

  • onScroll
  • Fix wrong target offsets calculation when container is scaled (#1098) (@sxnb)
  • Types
  • Fix await animate() throwing Typescript error (#1043)

Docs

  • Every demos can now be edited on CodePen
  • Added .reset() chapters
Source: README.md, updated 2025-10-05