window
ee-core: v2.2.0
# 介绍
内置window插件
# 使用方法
const Addon = require('ee-core/addon');
const win = Addon.get('window');
# API列表
# create()
- @params name [String] - 窗口名字
- @params opt [Object] - 窗口选项,见:browserWindowOptions (opens new window)
- @return 窗口对象
创建窗口。
# getWCid()
- @params name [String] -窗口名字
获取窗口webContents.id
# getMWCid()
获取主窗口webContents.id
# 属性
# windowContentsIdMap
保存窗口webContents.id 的对象
上次更新: 2025/03/27, 02:12:08