Changes
- Added a Behind the Scenes page to the documentation, explaining the internal workings of ForesightJS.
- Numeric values in the Foresight configuration are now automatically clamped to their valid ranges, preventing invalid configurations. The affected settings and their limits are:
positionHistorySize: min 0, max 50trajectoryPredictionTime: min 10, max 200defaultHitSlop: min 0, max 2000resizeScrollThrottleDelay: min 0, max 500tabOffset: min 0, max 20
- Implemented an
AbortControllerto cancel all pending events when theForesightManagercontains no elements and debug mode is disabled. - Added a Contribution Guide.