From dcdafa8960253ee046ac912f1c7556b576333487 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Wed, 28 Aug 2019 07:11:19 +0800 Subject: [PATCH] Update window.md --- docs/api/ui/window.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/api/ui/window.md b/docs/api/ui/window.md index ebec1ff5..f3f0c62b 100644 --- a/docs/api/ui/window.md +++ b/docs/api/ui/window.md @@ -7,7 +7,7 @@ |5+App|H5|微信小程序 |支付宝小程序|百度小程序|头条小程序| |:-:|:-:|:-:|:-:|:-:|:-:| -|√|√|√|x|x|x| +|√(nvue不支持)|√|√|x|x|x| **CALLBACK 参数说明** @@ -24,6 +24,10 @@ uni.onWindowResize((res) => { }) ``` +**TIPS** +- 如App端设置软键盘弹出方式为adjustResize ,则在键盘弹出时,会触发此事件。 +- 横竖屏切换时,会触发此事件。 + ### uni.offWindowResize(CALLBACK) 取消监听窗口尺寸变化事件 -- GitLab