FullscreenOptions

FullscreenOptions dictionary is used to provide configuration options when calling requestFullscreen() on an element to place that element into full-screen mode.

特性

navigationUI 可选
A string controlling whether or not to keep browser user interface elements visible while the element is in full-screen mode. The default, "auto" , lets the browser make this decision.

浏览器兼容性

更新 GitHub 上的兼容性数据
Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
FullscreenOptions Chrome 71 Edge 79 Firefox 64 IE No Opera ? Safari ? WebView Android 71 Chrome Android 71 Firefox Android 64 Opera Android ? Safari iOS ? Samsung Internet Android 10.0
navigationUI Chrome 71 Edge 79 Firefox 64 IE No Opera ? Safari ? WebView Android 71 Chrome Android 71 Firefox Android 64 Opera Android ? Safari iOS ? Samsung Internet Android 10.0

图例

完整支持
完整支持
不支持
不支持
兼容性未知
兼容性未知

另请参阅