| Name | Modified | Size | Downloads / 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- dragThresholdparameter (#1091) (@craig-jennings)
Changes
- Timer, Animation, Timeline
- .reset(softReset): The- softResetparameter type is now a- Booleaninstead 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