windows.WindowType

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

浏览器窗口的类型。

Type

类型的值是字符串类型。 可能的值如下:

  • "normal"
  • "popup"
  • "panel"
  • "devtools"

浏览器适配

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaFirefox for Android
WindowTypeChrome Full support YesEdge Full support 14Firefox Full support 45Opera Full support YesFirefox Android No support No
appChrome Full support YesEdge Full support 79Firefox Full support 45Opera Full support YesFirefox Android No support No
devtoolsChrome Full support YesEdge Full support 79Firefox Full support 45Opera Full support YesFirefox Android No support No
panelChrome Full support YesEdge Full support 79Firefox Full support 45Opera Full support YesFirefox Android No support No

Legend

Full support  
Full support
No support  
No support
Acknowledgements

This API is based on Chromium's chrome.windows API. This documentation is derived from windows.json in the Chromium code.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.