From 45f128f1046cfa4b6992ce24454bd3e195662308 Mon Sep 17 00:00:00 2001 From: hdx Date: Mon, 5 Aug 2024 14:12:48 +0800 Subject: [PATCH] =?UTF-8?q?animationFrame:=20=E5=A2=9E=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/animation-frame.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/api/animation-frame.md b/docs/api/animation-frame.md index ad882473..d3d07a23 100644 --- a/docs/api/animation-frame.md +++ b/docs/api/animation-frame.md @@ -30,4 +30,10 @@ - \ No newline at end of file + + + +**提示** + +- `uni.requestAnimationFrame` 替代 web 平台的 `requestAnimationFrame` +- `uni.cancelAnimationFrame` 替代 web 平台的 `cancelAnimationFrame` -- GitLab