windows.WindowType

浏览器窗口的类型。

Type

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

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

浏览器适配

BCD tables only load in the browser

备注: 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.