diff options
Diffstat (limited to 'files/zh-cn/web/api/window/window.blur()/index.html')
-rw-r--r-- | files/zh-cn/web/api/window/window.blur()/index.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/window/window.blur()/index.html b/files/zh-cn/web/api/window/window.blur()/index.html new file mode 100644 index 0000000000..0aebdbb367 --- /dev/null +++ b/files/zh-cn/web/api/window/window.blur()/index.html @@ -0,0 +1,39 @@ +--- +title: Window.blur() +slug: Web/API/Window/Window.blur() +translation_of: Web/API/Window/blur +--- +<p>{{APIRef}}</p> + +<h2 id="Summary" name="Summary">总结</h2> + +<p>将焦点移出顶层窗口。</p> + +<h2 id="Syntax" name="Syntax">语法</h2> + +<pre class="syntaxbox"><code>window.blur()</code></pre> + +<h2 id="Example" name="Example">示例</h2> + +<pre class="brush:js">window.blur();</pre> + +<h2 id="Notes" name="Notes">注意</h2> + +<p>使用 window.blur() 方法与用户主动将焦点移出顶层窗口本质上是一样的。</p> + +<h2 id="Specification" name="Specification">规范</h2> + +<table class="spectable standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('HTML WHATWG','interaction.html#dom-window-blur','Window.blur()')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td> </td> + </tr> + </tbody> +</table> |