← Back to release summary

PointerEvent.getPredictedEvents()

Category
User input
Type
New or changed feature
Status
Enabled by default (Chrome 77)
Intent stage
None

Summary

Adds a method that returns a few predicted pointer move events. This enables apps such as drawing apps for example to draw a predicted line, reducing apparent latency for the user.

Standards & signals

Docs: https://docs.google.com/document/d/15NKd4s5BSEPXQZ1IJnm9zNzz7hltIRw0YOMlN5WoOzA/

Samples: https://tests.eirage.com/Prediction/PredictionTest.html https://tests.eirage.com/Prediction/PredictionDemo.html

Explainers: https://w3c.github.io/pointerevents/explainer.md

View on chromestatus.com