diff options
author | MDN <actions@users.noreply.github.com> | 2021-05-12 00:34:15 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2021-05-12 00:34:15 +0000 |
commit | cc2fecdc2e9b25cee6109e8feba41716be3db231 (patch) | |
tree | c62786032682a62e25778ffb78977515398f09b1 /files/zh-cn/web | |
parent | a542efd79974f631ca8f170bb9a7b54dead0b9bf (diff) | |
download | translated-content-cc2fecdc2e9b25cee6109e8feba41716be3db231.tar.gz translated-content-cc2fecdc2e9b25cee6109e8feba41716be3db231.tar.bz2 translated-content-cc2fecdc2e9b25cee6109e8feba41716be3db231.zip |
[CRON] sync translated content
Diffstat (limited to 'files/zh-cn/web')
-rw-r--r-- | files/zh-cn/web/api/uievent/cancelbubble/index.html | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/files/zh-cn/web/api/uievent/cancelbubble/index.html b/files/zh-cn/web/api/uievent/cancelbubble/index.html deleted file mode 100644 index cc024ba8b6..0000000000 --- a/files/zh-cn/web/api/uievent/cancelbubble/index.html +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: event.cancelBubble -slug: Web/API/UIEvent/cancelBubble -translation_of: Web/API/UIEvent/cancelBubble ---- -<p>{{ ApiRef() }}</p> -<div class="warning"> - <strong>警告:</strong> 请使用 <a href="/zh-cn/DOM/event.stopPropagation" title="zh-cn/DOM/event.stopPropagation">event.stopPropagation()</a> 方法来代替该不标准的属性.</div> -<h3 id="Summary" name="Summary">概述</h3> -<p>{{ Deprecated_header() }} 获取或设置一个布尔值,表明当前事件是否要取消冒泡.</p> -<h3 id="Syntax" name="Syntax">语法</h3> -<pre class="eval">event.cancelBubble = <em>bool;</em> -<em>var bool</em> = event.cancelBubble; -</pre> -<p><code>bool</code> 的值为<code>true或</code><code>false</code>.</p> -<h3 id="Notes" name="Notes">备注</h3> -<p><code>如果一个事件是可冒泡的,则它的cancelBubble</code>属性的默认值为 <code>false</code>,代表允许该事件向上冒泡. 将<code>cancelBubble</code>属性设置为<code>true以后,可以阻止该事件的进一步冒泡行为.</code></p> -<p>{{ languages( { "pl": "pl/DOM/event.cancelBubble" ,"en": "en/DOM/event.cancelBubble" } ) }}</p> |