From f35651a03ec268c31e25c75931a41db5d749e33b Mon Sep 17 00:00:00 2001 From: wanganxp Date: Thu, 29 Aug 2019 02:17:41 +0800 Subject: [PATCH] Update deviceMotion.md --- docs/api/system/deviceMotion.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api/system/deviceMotion.md b/docs/api/system/deviceMotion.md index bb119c97..371f768c 100644 --- a/docs/api/system/deviceMotion.md +++ b/docs/api/system/deviceMotion.md @@ -1,4 +1,5 @@ -#### 设备方向 +#### 监听设备方向变化 仅微信小程序平台支持,[规范详情](https://developers.weixin.qq.com/miniprogram/dev/api/device/motion/wx.startDeviceMotionListening.html) +在App平台,也可以通过监听窗体大小变化onResize来实现此类需求。[详见](https://uniapp.dcloud.io/collocation/frame/lifetime?id=%e9%a1%b5%e9%9d%a2%e7%94%9f%e5%91%bd%e5%91%a8%e6%9c%9f) -- GitLab