This is an automated email from the ASF dual-hosted git repository.
kyork pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git
The following commit(s) were added to refs/heads/master by this push:
new 28e121e Update globalEvent.md (#512)
28e121e is described below
commit 28e121edafc7fda2f0acf44653a67e55d0d08883
Author: alpha <[email protected]>
AuthorDate: Fri Oct 25 18:12:59 2019 +0800
Update globalEvent.md (#512)
中文翻译:“获得应用被前后后这后台”,改为“获取应用当前是前台或后台”,便于理解
---
docs/zh/docs/modules/globalEvent.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/zh/docs/modules/globalEvent.md
b/docs/zh/docs/modules/globalEvent.md
index 3695e4d..10093e7 100644
--- a/docs/zh/docs/modules/globalEvent.md
+++ b/docs/zh/docs/modules/globalEvent.md
@@ -4,7 +4,7 @@
#### 内置的全局事件
-WeexSDK
对获取应用前后台事件做了支持,开发者可以在页面内监听对应的事件,获得应用被前后后这后台,以方便暂停音乐,视频等,只需要指定需要监听的事件名称和回调函数就可以,例如:
+WeexSDK
对获取应用前后台事件做了支持,开发者可以在页面内监听对应的事件,获取应用当前是前台或后台,以方便暂停音乐,视频等,只需要指定需要监听的事件名称和回调函数就可以,例如:
```javascript
var globalEvent = weex.requireModule('globalEvent');