New
v4.2.1
New features
- SVG
createMotionPath(): Add an offset parameter (#1037) (@TheHyrox)
- Draggable
createDraggable(): Add adragThresholdparameter (#1091) (@craig-jennings)
Changes
- Timer, Animation, Timeline
.reset(softReset): ThesoftResetparameter type is now aBooleaninstead 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)
- Fix await
Docs
- Every demos can now be edited on CodePen
- Added
.reset()chapters