← Back to release summary

rAF Aligned Mouse Events

Category
User input
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome 60)
Intent stage
None

Summary

Align continuous mouse events (mousemove, mousewheel) so that they occur close to requestAnimationFrame() as possible. Historical events can be accessed via getCoalescedEvents (see https://w3c.github.io/pointerevents/extension.html#extensions-to-the-pointerevent-interface)

Standards & signals

Docs: https://docs.google.com/document/d/1aM9AqyYuceRHOmsJZXFKcgi_D4jvFAymYvI36OEwIpI/edit# https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame https://developer.mozilla.org/en-US/docs/Web/Events/mousemove https://developer.mozilla.org/en-US/docs/Web/Events/wheel

Samples: http://rbyers.github.io/event-timing.html

View on chromestatus.com