← Back to release summary

requestAnimationFrame()

Category
Graphics
Type
New or changed feature
Status
Enabled by default (Chrome 24)
Intent stage
None

Summary

Offload animation repainting to browser for optimized performance. You should call this method whenever you're ready to update your animation onscreen. This will request that your animation function be called before the browser performs the next repaint.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame

View on chromestatus.com