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