From 79c80b327d00a75400d9a0156d6cd5aff1e1ecc8 Mon Sep 17 00:00:00 2001 From: hdx Date: Thu, 8 Aug 2024 17:13:51 +0800 Subject: [PATCH] =?UTF-8?q?AnimationFrame:=20=E6=96=B0=E5=A2=9E=E8=B7=A8?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E6=B3=A8=E6=84=8F=E4=BA=8B=E9=A1=B9=EF=BC=8C?= =?UTF-8?q?=E5=9C=A8canvas=E5=8A=A8=E7=94=BB=E4=B8=AD=E5=BA=94=E4=BD=BF?= =?UTF-8?q?=E7=94=A8createCanvasContextAsync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/animation-frame.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/api/animation-frame.md b/docs/api/animation-frame.md index b042962a..76bfad3b 100644 --- a/docs/api/animation-frame.md +++ b/docs/api/animation-frame.md @@ -25,3 +25,6 @@ + +**提示** +- requestanimationframe/cancelanimationframe 为全局 API,如果需要跨平台处理 canvas 动画需要使用 [uni.createCanvasContextAsync]("./create-canvas-context-async.md") -- GitLab