Browser.setWindowBounds() 方法
🌐 Browser.setWindowBounds() method
设置指定窗口的边界bounds。
🌐 Sets the specified window bounds.
语法
🌐 Signature
class Browser {
abstract setWindowBounds(
windowId: WindowId,
windowBounds: WindowBounds,
): Promise<void>;
}
参数
🌐 Parameters
|
范围 🌐 Parameter |
类型 🌐 Type |
描述 🌐 Description |
|---|---|---|
|
windowId | ||
|
windowBounds |
返回:
Promise<void>