docs: make setBounds take a Partial<Rectangle> (#19416)
This commit is contained in:
parent
bb90a36701
commit
b7f554f1dc
2 changed files with 4 additions and 4 deletions
|
@ -978,7 +978,7 @@ Closes the currently open [Quick Look][quick-look] panel.
|
|||
|
||||
#### `win.setBounds(bounds[, animate])`
|
||||
|
||||
* `bounds` [Rectangle](structures/rectangle.md)
|
||||
* `bounds` Partial<[Rectangle](structures/rectangle.md)>
|
||||
* `animate` Boolean (optional) _macOS_
|
||||
|
||||
Resizes and moves the window to the supplied bounds. Any properties that are not supplied will default to their current values.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue