---
id: "request-animation-frame"
kind: "web-feature"
canonical: "https://timetostable.com/feature/request-animation-frame"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# requestAnimationFrame() (`request-animation-frame`)

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

- **Group**: other
- **Baseline**: Widely Available
- **Newly Available Date**: 2015-07-29
- **Widely Available Date**: 2018-01-29
- **Specification**: https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animation-frames
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 24 | 2013-01-10 |
| Chrome Android | 25 | 2013-02-27 |
| Firefox | 23 | 2013-08-06 |
| Firefox for Android | 23 | 2013-08-06 |
| Safari on iOS | 7 | 2013-09-18 |
| Safari | 7 | 2013-10-22 |
| Edge | 12 | 2015-07-29 |

