зеркало из https://github.com/electron/electron.git
docs: make setBounds take a Partial<Rectangle> (#19416)
This commit is contained in:
Родитель
bb90a36701
Коммит
b7f554f1dc
|
@ -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.
|
||||
|
|
|
@ -56,9 +56,9 @@
|
|||
pretty-ms "^5.0.0"
|
||||
|
||||
"@electron/typescript-definitions@^8.3.5":
|
||||
version "8.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@electron/typescript-definitions/-/typescript-definitions-8.3.5.tgz#02bbeea578bf3ef44f57297ba9e101df57270dbd"
|
||||
integrity sha512-kKxNdWmw+zy2ENECrDjNdzDTATezTQEHmx0OHccbb/JOuL/tLpQXlVEiieCVQ2XJ+SY3FHRuZCrBUo3VEyR2uA==
|
||||
version "8.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@electron/typescript-definitions/-/typescript-definitions-8.4.0.tgz#934b8b0b4433245794686f416398fc2503742f35"
|
||||
integrity sha512-P+j99jjv7KD54p/nbrG3esPJzTq1fkK+MAuK+AnaU395Z6+5IRiXutLPFaO9i1idXg2Y3aknad0HKke4jQJB1Q==
|
||||
dependencies:
|
||||
"@electron/docs-parser" "^0.2.1"
|
||||
"@types/node" "^11.13.7"
|
||||
|
|
Загрузка…
Ссылка в новой задаче