Web platform features explorer

requestAnimationFrame()

Widely available since 2018-01-29
Tags: api

The requestAnimationFrame() method schedules a function that runs before the next repaint. You can use it to animate content with JavaScript.

Specifications

Browser support (view on caniuse.com)

  • Chrome 24 Released on 2013-01-10
  • Chrome Android 25 Released on 2013-02-27
  • Edge 12 Released on 2015-07-29
  • Firefox 23 Released on 2013-08-06
  • Firefox for Android 23 Released on 2013-08-06
  • Safari 7 Released on 2013-10-22
  • Safari on iOS 7 Released on 2013-09-18

Usage (according to Chrome Platform Status)

~60.527% of page loads. More data at chromestatus.