FullscreenOptions

翻译不完整。 请帮助我们翻译这篇文章!

当调用requestFullscreen() 元素以将该元素置于全屏模式时,使用 FullscreenOptions 字典提供配置选项。

属性

navigationUI可选
在元素处于全屏模式时,控制是否保持浏览器用户界面元素可见的字符串。默认的“auto”让浏览器做出这个决定。

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
FullscreenOptionsChrome Full support 71Edge Full support 79Firefox Full support 64IE No support NoOpera ? Safari ? WebView Android Full support 71Chrome Android Full support 71Firefox Android Full support 64Opera Android ? Safari iOS ? Samsung Internet Android Full support 10.0
navigationUIChrome Full support 71Edge Full support 79Firefox Full support 64IE No support NoOpera ? Safari ? WebView Android Full support 71Chrome Android Full support 71Firefox Android Full support 64Opera Android ? Safari iOS ? Samsung Internet Android Full support 10.0

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

另请参阅