BrowserWindowConstructorOptions 对象扩展 BaseWindowConstructorOptions¶
webPreferencesWebPreferences(可选)- 网页功能的设置。paintWhenInitiallyHidden布尔值(可选)- 当show为false且窗口刚刚创建时,渲染进程是否应该处于活动状态。为了让document.visibilityState在首次加载且show: false时正确工作,应将其设置为false。将其设置为false会导致ready-to-show事件不触发。默认值为true。
本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 el/electron