v151 · dom · input

Wheel Event Momentum

A new momentum property on WheelEvent marks events from trackpad fling gestures — the inertia events that continue after the finger lifts. Web apps can now distinguish intentional scrolling from decaying inertia.

concepts

  1. Momentum Tracker

    Scroll inside a container and watch each wheel event's momentum flag. On a trackpad, fling to see inertia events flagged as momentum: true.

  2. Feature Detection

    Probe whether WheelEvent.prototype.momentum exists, with a live event listener that shows the property's value per scroll.

  3. Precision Zoom Controller

    A practical map/CAD/data-canvas controller that applies, dampens, or ignores inertial tail events to prevent trackpad fling overshoot, with accessible zoom controls and live input metrics.

references

implementation reference

Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗