blob: 066fbc656c171e917b3d746e9e4b7dbb10528348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
---
title: FullscreenOptions
slug: Web/API/FullscreenOptions
translation_of: Web/API/FullscreenOptions
---
<p>{{APIRef("Fullscreen API")}}</p>
<p><span class="seoSummary">当调用{{DOMxRef("Element.requestFullscreen", "requestFullscreen()")}} 元素以将该元素置于全屏模式时,使用 <strong><code>FullscreenOptions</code></strong> 字典提供配置选项。</span></p>
<h2 id="属性">属性</h2>
<dl>
<dt>{{DOMxRef("FullscreenOptions.navigationUI", "navigationUI")}}{{Optional_Inline}}</dt>
<dd>在元素处于全屏模式时,控制是否保持浏览器用户界面元素可见的字符串。默认的<code>“auto”</code>让浏览器做出这个决定。</dd>
</dl>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
<div class="hidden">该页面上的兼容性表是由结构化数据生成的。如果您想对数据做出贡献,请查看<a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>,并向我们发送一个pull request。</div>
<p>{{Compat("api.FullscreenOptions")}}</p>
<h2 id="另请参阅">另请参阅</h2>
<ul>
<li><a href="/en-US/docs/Web/API/Fullscreen_API">Fullscreen API</a></li>
<li><a href="/en-US/docs/Web/API/Fullscreen_API/Guide">Guide to the Fullscreen API</a></li>
<li>{{DOMxRef("Element.requestFullscreen()")}}</li>
</ul>
|