Browser.getWindowBounds() 方法
获取指定窗口的bounds。
签名
class Browser {
abstract getWindowBounds(windowId: WindowId): Promise<WindowBounds>;
}
参数
|
参数 |
类型 |
说明 |
|---|---|---|
|
windowId |
返回值:
Promise<WindowBounds>
获取指定窗口的bounds。
class Browser {
abstract getWindowBounds(windowId: WindowId): Promise<WindowBounds>;
}
|
参数 |
类型 |
说明 |
|---|---|---|
|
windowId |
返回值:
Promise<WindowBounds>