requestAnimationFrame()

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.

Comments

Safari lacks support for the DOMHightResTimeStamp callback parameter.

Documentation

Specification

Established standard

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 24
  • Opera release 15
  • Opera for Android release 15

Consensus & Standardization

  • Shipped
  • Shipped
  • Shipped
  • Positive

Owner

Last updated on 2015-05-15