diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/document/releasecapture/index.html | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/api/document/releasecapture/index.html')
-rw-r--r-- | files/zh-cn/web/api/document/releasecapture/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/document/releasecapture/index.html b/files/zh-cn/web/api/document/releasecapture/index.html new file mode 100644 index 0000000000..798a7e46f3 --- /dev/null +++ b/files/zh-cn/web/api/document/releasecapture/index.html @@ -0,0 +1,20 @@ +--- +title: document.releaseCapture +slug: Web/API/Document/releaseCapture +translation_of: Web/API/Document/releaseCapture +--- +<p>{{ ApiRef() }}{{ gecko_minversion_header("2.0") }}</p> +<h3 id="Summary" name="Summary">概述</h3> +<p>如果该 document 中的一个元素之上当前启用了鼠标捕获,则释放鼠标捕获。通过调用 {{ domxref("element.setCapture()") }} 实现在一个元素上启用鼠标捕获。</p> +<h3 id="Syntax" name="Syntax">语法</h3> +<pre class="eval">document.releaseCapture() +</pre> +<p>一旦释放鼠标捕获,鼠标事件将不再全部被定向到启用了鼠标捕获的元素。</p> +<h3 id="Example" name="Example">示例</h3> +<p>请参见 {{ domxref("element.setCapture()") }} 的 <a href="/en/DOM/element.setCapture#Example" title="en/DOM/element.setCapture#Example">示例</a></p> +<h3 id="Specification" name="Specification">规范</h3> +<p>基于 Internet Explorer 的实现。</p> +<h3 id="参见">参见</h3> +<ul> + <li>{{ domxref("element.setCapture()") }}</li> +</ul> |