BrowserWindowConstructorOptions 对象继承自 BaseWindowConstructorOptions
🌐 BrowserWindowConstructorOptions Object extends BaseWindowConstructorOptions
webPreferencesWebPreferences(可选)- 网页功能的设置。paintWhenInitiallyHidden布尔值(可选)- 当show为false且刚创建时,渲染器是否应处于激活状态。为了让document.visibilityState在首次加载show: false时能够正常工作,应将其设置为false。将其设置为false会导致ready-to-show事件不触发。默认值为true。