Browser.setWindowBounds() 方法
¥Browser.setWindowBounds() method
设置指定窗口 bounds。
¥Sets the specified window bounds.
签名
¥Signature
class Browser {
abstract setWindowBounds(
windowId: WindowId,
windowBounds: WindowBounds,
): Promise<void>;
}
参数
¥Parameters
范围 | 类型 | 描述 |
|---|---|---|
windowId | ||
windowBounds |
Returns:
Promise<void>