## requestAnimationFrame `requestAnimationFrame`是浏览器用于定时循环操作的一个接口,类似于setTimeout,主要用途是按帧对网页进行重绘。 可以使用`requestAnimationFrame()`来制作动画。 > 如果你想做逐帧动画的时候,

评论区

登录 后参与评论
× Preview