Skip to content

getWindowInfoByName 获取窗口信息 Async

根据窗口名称获取窗口信息

接口实例:XbaseKit.windowApi

使用

ts
XbaseKit.windowApi.getWindowInfoByName(windowName: string)

示例

ts
XbaseKit.windowApi.getWindowInfoByName('windowName').then((res) => {
  console.log(res)
})

参数

参数说明类型是否必选默认值
windowName窗口名称string-

Released under the MIT License.