### requestAnimationFrame(callback)@requestanimationframe ### cancelAnimationFrame(taskId) @cancelanimationframe **提示** - requestanimationframe/cancelanimationframe 为全局 API,如果需要跨平台处理 canvas 动画需要使用 [uni.createCanvasContextAsync]("./create-canvas-context-async.md")