Skip to content

v4.2.1

Choose a tag to compare

@juliangarnier juliangarnier released this 05 Oct 17:57
· 36 commits to master since this release

New features

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