You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/03/20 03:36:50 UTC
[24/50] incubator-weex git commit: * [doc] Update some examples.
* [doc] Update some examples.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/90344359
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/90344359
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/90344359
Branch: refs/heads/0.11-dev
Commit: 9034435958399bae2b568b36590d194b12e950bb
Parents: 2d7b868
Author: Yun Dong <yu...@gmail.com>
Authored: Fri Mar 10 14:50:12 2017 +0800
Committer: Yun Dong <yu...@gmail.com>
Committed: Fri Mar 10 14:50:12 2017 +0800
----------------------------------------------------------------------
doc/source/cn/references/components/a.md | 19 -------------------
doc/source/cn/references/components/div.md | 10 +++++-----
doc/source/cn/references/components/image.md | 16 ++++++++--------
doc/source/cn/references/components/list.md | 4 ----
doc/source/cn/references/modules/globalevent.md | 2 +-
doc/source/cn/references/path.md | 2 +-
.../cn/v-0.10/references/modules/globalevent.md | 2 +-
doc/source/references/components/image.md | 5 ++---
doc/source/references/modules/globalevent.md | 2 +-
.../v-0.10/references/modules/globalevent.md | 2 +-
10 files changed, 20 insertions(+), 44 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/cn/references/components/a.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/a.md b/doc/source/cn/references/components/a.md
index f6fd610..5e54b0c 100644
--- a/doc/source/cn/references/components/a.md
+++ b/doc/source/cn/references/components/a.md
@@ -44,25 +44,6 @@ version: 2.1
## \u7ea6\u675f
- **\u4e0d\u80fd**\u76f4\u63a5\u5728 `<a>` \u4e2d\u6dfb\u52a0\u6587\u672c\u3002
- \u9519\u8bef\u793a\u4f8b\uff0c\u201cclick\u201d \u65e0\u6cd5\u88ab\u6b63\u5e38\u6e32\u67d3\u3002
-
- ```html
- <template>
- <div class="wrapper">
- <a href="http://dotwe.org/raw/dist/a468998152ee680413588c38bd61c29e.js">
- click
- </a>
- </div>
- </template>
-
- <style>
- .wrapper {
- text-align: center;
- }
- </style>
- ```
-
- [\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/0a22d65138691a208e3fb1f8f6392b38)
- \u8bf7\u4e0d\u8981\u4e3a `<a>` \u6dfb\u52a0 `click` \u4e8b\u4ef6\u3002\u6211\u4eec\u4e0d\u80fd\u786e\u4fdd `click` \u4e8b\u4ef6\u548c `href` \u8df3\u8f6c\u7684\u6267\u884c\u987a\u5e8f\u3002
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/cn/references/components/div.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/div.md b/doc/source/cn/references/components/div.md
index 79cfae0..90d8711 100644
--- a/doc/source/cn/references/components/div.md
+++ b/doc/source/cn/references/components/div.md
@@ -24,7 +24,7 @@ version: 2.1
<style>
.text {
- font-size: 70;
+ font-size: 70px;
color: #ff0000
}
</style>
@@ -32,7 +32,7 @@ version: 2.1
<script></script>
```
-[\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/a468998152ee680413588c38bd61c29e)
+[\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/vue/ea4f528a0b381640b77ba03fcc69a90a)

@@ -84,11 +84,11 @@ version: 2.1
<script></script>
```
- [\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/3ef3ba3f0f162b27e24c525250c46a04)
+ [\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/vue/541f016de379c8764ddcdd9da0cabc24)
-2. `<div>` \u4e0d\u53ef\u6eda\u52a8\uff0c\u5373\u4f7f\u663e\u5f0f\u8bbe\u7f6e\u9ad8\u5ea6\u4e5f\u4e00\u6837\u3002
+2. `<div>` \u5728 native \u4e2d\u4e0d\u53ef\u6eda\u52a8\uff0c\u5373\u4f7f\u663e\u5f0f\u8bbe\u7f6e\u9ad8\u5ea6\u4e5f\u4e00\u6837\u3002
- [\u9519\u8bef\u793a\u4f8b](http://dotwe.org/a2cc491c5b9e6f6eb06795e45e725efd)
+ [\u9519\u8bef\u793a\u4f8b](http://dotwe.org/vue/6795753d1a51662b8a7282b129dc7ddf)
## \u793a\u4f8b
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/cn/references/components/image.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/image.md b/doc/source/cn/references/components/image.md
index 1c70f10..7755618 100644
--- a/doc/source/cn/references/components/image.md
+++ b/doc/source/cn/references/components/image.md
@@ -7,7 +7,7 @@ version: 2.1
# <image>
-`<image>` \u7ec4\u4ef6\u7528\u4e8e\u6e32\u67d3\u56fe\u7247\uff0c\u5e76\u4e14\u5b83\u4e0d\u80fd\u5305\u542b\u4efb\u4f55\u5b50\u7ec4\u4ef6\u3002\u53ef\u4ee5\u7528 `<img>` \u4f5c\u7b80\u5199\u3002
+`<image>` \u7ec4\u4ef6\u7528\u4e8e\u6e32\u67d3\u56fe\u7247\uff0c\u5e76\u4e14\u5b83\u4e0d\u80fd\u5305\u542b\u4efb\u4f55\u5b50\u7ec4\u4ef6\u3002\u65b0\u7248 Vue 2.0 \u4e2d**\u4e0d\u652f\u6301**\u7528 `<img>` \u4f5c\u7b80\u5199\u3002
\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u9700\u8981\u660e\u786e\u6307\u5b9a `width` \u548c `height`\uff0c\u5426\u5219\u56fe\u7247\u65e0\u6cd5\u663e\u793a\u3002
@@ -16,12 +16,12 @@ version: 2.1
```html
<template>
<div>
- <img style="width: 560;height: 560;" src="https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg"></img>
+ <image style="width: 560px;height: 560px;" src="https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg"></image>
</div>
</template>
```
-[\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/23b6cf951e6059d2cf7b9a74a9915ace)
+[\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/vue/1d6145d98cbdb8c66c69b4d4dcd2744d)
## \u5b50\u7ec4\u4ef6
@@ -30,9 +30,9 @@ version: 2.1
```html
<template>
<div>
- <img style="width:750; height:750;" src="https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg"></img>
+ <image style="width:750px; height:750px;" src="https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg"></image>
<div class="title">
- <text style="font-size:50; color: #ff0000">\u4f60\u597d\uff0cimage</text>
+ <text style="font-size:50px; color: #ff0000">\u4f60\u597d\uff0cimage</text>
</div>
</div>
</template>
@@ -45,7 +45,7 @@ version: 2.1
</style>
```
-[\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/08dd49aaca8bf289c5fc08f808b9c08c)
+[\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/vue/0a81d27b5dbc68ea3bf5f9fd56c882e8)
## \u7279\u6027
@@ -66,7 +66,7 @@ version: 2.1
- `placeholder`: <span class="api-version">v0.9+</span> <string> \u5f53\u6e90\u56fe\u7247\u4e0b\u8f7d\u4e2d\u65f6\u663e\u793a\u4e00\u5f20\u5360\u4f4d\u56fe\u3002
- [\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/049213ab3364a86637e211c0329cdc50)
+ [\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/vue/18e71ab3484bb6751ad77ff7d5195404)
## \u6837\u5f0f
@@ -82,7 +82,7 @@ version: 2.1
## \u4e8b\u4ef6
-- `load`: <sup class="api-version">v0.8+</sup>\uff1a\u5f53\u56fe\u7247\u52a0\u8f7d\u5b8c\u6210\u65f6\u89e6\u53d1\u3002\u76ee\u524d\u5728 Android\u3001iOS \u4e0a\u652f\u6301\uff0cH5 \u6682\u4e0d\u652f\u6301\u3002[\u793a\u4f8b](http://dotwe.org/25bd347da6a59603dd31ec057d2691da)
+- `load`: <sup class="api-version">v0.8+</sup>\uff1a\u5f53\u56fe\u7247\u52a0\u8f7d\u5b8c\u6210\u65f6\u89e6\u53d1\u3002\u76ee\u524d\u5728 Android\u3001iOS \u4e0a\u652f\u6301\uff0cH5 \u6682\u4e0d\u652f\u6301\u3002[\u793a\u4f8b](http://dotwe.org/vue/98ee340348d7cc3e6fbfe68dbaef1eed)
- \u4e8b\u4ef6\u5bf9\u8c61
- `success`: \u5f53\u56fe\u7247\u6210\u529f\u52a0\u8f7d\u65f6\u4e3a`true`\uff0c\u5426\u5219\u4e3a`false`
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/cn/references/components/list.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/list.md b/doc/source/cn/references/components/list.md
index 2cb0a90..335eef3 100644
--- a/doc/source/cn/references/components/list.md
+++ b/doc/source/cn/references/components/list.md
@@ -43,8 +43,6 @@ version: 2.1
- `loadmoreoffset {number}`\uff1a\u9ed8\u8ba4\u503c\u4e3a 0\uff0c\u89e6\u53d1 `loadmore` \u4e8b\u4ef6\u6240\u9700\u8981\u7684\u5782\u76f4\u504f\u79fb\u8ddd\u79bb\uff08\u8bbe\u5907\u5c4f\u5e55\u5e95\u90e8\u4e0e `<list>` \u5e95\u90e8\u4e4b\u95f4\u7684\u8ddd\u79bb\uff09\u3002\u5f53 `<list>` \u7684\u6eda\u52a8\u6761\u6eda\u52a8\u5230\u8db3\u591f\u63a5\u8fd1 `<list>` \u5e95\u90e8\u65f6\u5c06\u4f1a\u89e6\u53d1 `loadmore` \u8fd9\u4e2a\u4e8b\u4ef6\u3002
- 
-
## \u6837\u5f0f
- \u901a\u7528\u6837\u5f0f\uff1a\u652f\u6301\u6240\u6709\u901a\u7528\u6837\u5f0f
@@ -61,8 +59,6 @@ version: 2.1
- `loadmore` <sup class="wx-v">0.5+</sup>\uff1a\u5982\u679c\u5217\u8868\u6eda\u52a8\u5230\u5e95\u90e8\u5c06\u4f1a\u7acb\u5373\u89e6\u53d1\u8fd9\u4e2a\u4e8b\u4ef6\uff0c\u4f60\u53ef\u4ee5\u5728\u8fd9\u4e2a\u4e8b\u4ef6\u7684\u5904\u7406\u51fd\u6570\u4e2d\u52a0\u8f7d\u4e0b\u4e00\u9875\u7684\u5217\u8868\u9879\u3002
- [\u4f53\u9a8c\u4e00\u4e0b](http://dotwe.org/bc445ede8746a31360e3607d210304c5)
-
- \u901a\u7528\u4e8b\u4ef6
\u652f\u6301\u6240\u6709\u901a\u7528\u4e8b\u4ef6\uff1a
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/cn/references/modules/globalevent.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/modules/globalevent.md b/doc/source/cn/references/modules/globalevent.md
index d5bf004..f588aa8 100644
--- a/doc/source/cn/references/modules/globalevent.md
+++ b/doc/source/cn/references/modules/globalevent.md
@@ -9,7 +9,7 @@ version: 2.1
<span class="weex-version">0.8 (\u5f00\u53d1\u4e2d)</span>
-`globalEvent` \u7528\u4e8e\u76d1\u542c\u6301\u4e45\u6027\u4e8b\u4ef6\uff0c\u4f8b\u5982\u5b9a\u4f4d\u4fe1\u606f\uff0c\u9640\u87ba\u4eea\u7b49\u7684\u53d8\u5316\u3002\u5168\u5c40\u4e8b\u4ef6\u662f\u9700\u8981\u989d\u5916 APIs \u5904\u7406\u7684\u6b21\u8981 API\u3002\u4f60\u80fd\u901a\u8fc7 `addEventListener` \u6ce8\u518c\u4e8b\u4ef6\u76d1\u542c\uff0c\u5f53\u4f60\u4e0d\u518d\u9700\u8981\u7684\u65f6\u5019\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 `removingEventListener` \u53d6\u6d88\u4e8b\u4ef6\u76d1\u542c\u3002
+`globalEvent` \u7528\u4e8e\u76d1\u542c\u6301\u4e45\u6027\u4e8b\u4ef6\uff0c\u4f8b\u5982\u5b9a\u4f4d\u4fe1\u606f\uff0c\u9640\u87ba\u4eea\u7b49\u7684\u53d8\u5316\u3002\u5168\u5c40\u4e8b\u4ef6\u662f\u9700\u8981\u989d\u5916 APIs \u5904\u7406\u7684\u6b21\u8981 API\u3002\u4f60\u80fd\u901a\u8fc7 `addEventListener` \u6ce8\u518c\u4e8b\u4ef6\u76d1\u542c\uff0c\u5f53\u4f60\u4e0d\u518d\u9700\u8981\u7684\u65f6\u5019\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 `removeEventListener` \u53d6\u6d88\u4e8b\u4ef6\u76d1\u542c\u3002Vue \u7248\u672c\u6682\u4e0d\u652f\u6301 `globalEvent`\u3002
*\u63d0\u9192*
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/cn/references/path.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/path.md b/doc/source/cn/references/path.md
index 3d256fb..9e5a889 100644
--- a/doc/source/cn/references/path.md
+++ b/doc/source/cn/references/path.md
@@ -18,7 +18,7 @@ has_chapter_content: true
Weex SDK \u63d0\u4f9b `local` scheme \u6765\u8bbf\u95ee\u6253\u5305\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u8d44\u6e90\uff0c\u6b64 scheme \u65e0\u6cd5\u5728 H5 \u73af\u5883\u4e0b\u4f7f\u7528\u3002\u76ee\u524d\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5728 `image` \u7ec4\u4ef6\u548c\u5b57\u4f53\u6587\u4ef6\u4e2d\u4f7f\u7528\u672c\u5730\u8d44\u6e90\u3002
- * \u5728 iOS \u4e2d\uff0cWeex \u4f1a\u5728 `bundle resources` \u4e2d\u67e5\u627e\u3002\u4f8b\u5982\uff0c`image` \u7ec4\u4ef6\u7684 `src` \u5c5e\u6027\u4e3a `local\uff1a//app_icon'`\uff0c Weex \u4f1a\u52a0\u8f7d `bundle resouce` \u4e2d\u540d\u4e3a `app_icon` \u7684\u56fe\u50cf\u8d44\u6e90\uff0c\u800c\u5b57\u4f53\u6587\u4ef6\u4e5f\u4ee5\u76f8\u540c\u7684\u65b9\u5f0f\u5de5\u4f5c\u3002
+ * \u5728 iOS \u4e2d\uff0cWeex \u4f1a\u5728 `bundle resources` \u4e2d\u67e5\u627e\u3002\u4f8b\u5982\uff0c`image` \u7ec4\u4ef6\u7684 `src` \u5c5e\u6027\u4e3a `local:///app_icon'`\uff0c Weex \u4f1a\u52a0\u8f7d `bundle resouce` \u4e2d\u540d\u4e3a `app_icon` \u7684\u56fe\u50cf\u8d44\u6e90\uff0c\u800c\u5b57\u4f53\u6587\u4ef6\u4e5f\u4ee5\u76f8\u540c\u7684\u65b9\u5f0f\u5de5\u4f5c\u3002
* \u5728 Android \u4e2d\uff0c`image` \u7ec4\u4ef6\u5c06\u4ece `drawable` \u8d44\u6e90\u6587\u4ef6\u5939\u52a0\u8f7d\uff0c\u5982 `res/drawable-xxx`\u3002\u4f46\u52a0\u8f7d\u5b57\u4f53\u6587\u4ef6\u662f\u4e0d\u540c\u7684\uff0cAndroid \u6846\u67b6\u65e0\u6cd5\u4ece `res` \u52a0\u8f7d\u5b57\u4f53\u6587\u4ef6\uff0c\u56e0\u6b64 SDK \u5c06\u4ece `asserts` \u6587\u4ef6\u5939\u52a0\u8f7d\u5b83\u3002
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/cn/v-0.10/references/modules/globalevent.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/v-0.10/references/modules/globalevent.md b/doc/source/cn/v-0.10/references/modules/globalevent.md
index 05c9e7a..9a04dc0 100644
--- a/doc/source/cn/v-0.10/references/modules/globalevent.md
+++ b/doc/source/cn/v-0.10/references/modules/globalevent.md
@@ -8,7 +8,7 @@ version: 0.10
# \u5168\u5c40\u4e8b\u4ef6
<span class="weex-version">0.8 (\u5f00\u53d1\u4e2d)</span>
-`globalEvent` \u7528\u4e8e\u76d1\u542c\u6301\u4e45\u6027\u4e8b\u4ef6\uff0c\u4f8b\u5982\u5b9a\u4f4d\u4fe1\u606f\uff0c\u9640\u87ba\u4eea\u7b49\u7684\u53d8\u5316\u3002\u5168\u5c40\u4e8b\u4ef6\u662f\u9700\u8981\u989d\u5916 APIs \u5904\u7406\u7684\u6b21\u8981 API\u3002\u4f60\u80fd\u901a\u8fc7 `addEventListener` \u6ce8\u518c\u4e8b\u4ef6\u76d1\u542c\uff0c\u5f53\u4f60\u4e0d\u518d\u9700\u8981\u7684\u65f6\u5019\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 `removingEventListener` \u53d6\u6d88\u4e8b\u4ef6\u76d1\u542c\u3002
+`globalEvent` \u7528\u4e8e\u76d1\u542c\u6301\u4e45\u6027\u4e8b\u4ef6\uff0c\u4f8b\u5982\u5b9a\u4f4d\u4fe1\u606f\uff0c\u9640\u87ba\u4eea\u7b49\u7684\u53d8\u5316\u3002\u5168\u5c40\u4e8b\u4ef6\u662f\u9700\u8981\u989d\u5916 APIs \u5904\u7406\u7684\u6b21\u8981 API\u3002\u4f60\u80fd\u901a\u8fc7 `addEventListener` \u6ce8\u518c\u4e8b\u4ef6\u76d1\u542c\uff0c\u5f53\u4f60\u4e0d\u518d\u9700\u8981\u7684\u65f6\u5019\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 `removeEventListener` \u53d6\u6d88\u4e8b\u4ef6\u76d1\u542c\u3002
*\u63d0\u9192*
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/references/components/image.md
----------------------------------------------------------------------
diff --git a/doc/source/references/components/image.md b/doc/source/references/components/image.md
index 7cf9814..aac1735 100644
--- a/doc/source/references/components/image.md
+++ b/doc/source/references/components/image.md
@@ -9,11 +9,10 @@ version: 2.1
### Summary
-`image` tag is used to render a specified picture, and it shouldn't contain any child component. You can use `img` as alias.
+`image` tag is used to render a specified picture, and it shouldn't contain any child component. `<img>` is not supported currently.
**Notes:** the styles of `width` and `height` should be specified, otherwise it won't work.
-alias: `<img>`
### Child Components
@@ -43,7 +42,7 @@ This component supports no child components.
- support `click` event. Check out [common events](../common-event.html)
- support `appear` / `disappear` event. Check out [common events](../common-event.html)
-- `load`<sup class="api-version">v0.8+</sup> event. The `load` event fires on an image has been loaded. Only Android and iOS are supported currently. [example](http://dotwe.org/25bd347da6a59603dd31ec057d2691da)
+- `load`<sup class="api-version">v0.8+</sup> event. The `load` event fires on an image has been loaded. Only Android and iOS are supported currently. [example](http://dotwe.org/vue/98ee340348d7cc3e6fbfe68dbaef1eed)
- event object
- `success` : `true` if the image was loaded successfully, otherwise `false`
- `size` : the original size of image, contains two parameters: `naturalWidth` representing the original width of image in pixels, `naturalHeight` representing the original height of image in pixels. default value. The default value for both parameters is `0`.
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/references/modules/globalevent.md
----------------------------------------------------------------------
diff --git a/doc/source/references/modules/globalevent.md b/doc/source/references/modules/globalevent.md
index 66df3a2..3738976 100644
--- a/doc/source/references/modules/globalevent.md
+++ b/doc/source/references/modules/globalevent.md
@@ -12,7 +12,7 @@ version: 2.1
`globalEvent` are used to listen for persistent events, such as changes in positioning information, gyroscopes, and so on. A global event is a secondary API that requires additional APIs to work with.
-You can register events via `addEventListener`, which can be removed by `removingEventListener` when you do not need to listen for `globalEvent`.
+You can register events via `addEventListener`, which can be removed by `removeEventListener` when you do not need to listen for `globalEvent`. `globalEvent` is not supported in Vue version.
*AUCTION*
- Only instance level is not application level .
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90344359/doc/source/v-0.10/references/modules/globalevent.md
----------------------------------------------------------------------
diff --git a/doc/source/v-0.10/references/modules/globalevent.md b/doc/source/v-0.10/references/modules/globalevent.md
index 58e275b..0db8c48 100644
--- a/doc/source/v-0.10/references/modules/globalevent.md
+++ b/doc/source/v-0.10/references/modules/globalevent.md
@@ -12,7 +12,7 @@ version: 0.10
`globalEvent` are used to listen for persistent events, such as changes in positioning information, gyroscopes, and so on. A global event is a secondary API that requires additional APIs to work with.
-You can register events via `addEventListener`, which can be removed by `removingEventListener` when you do not need to listen for `globalEvent`.
+You can register events via `addEventListener`, which can be removed by `removeEventListener` when you do not need to listen for `globalEvent`.
*AUCTION*
- Only instance level is not application level .