mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add types
This commit is contained in:
@@ -57,10 +57,10 @@ Objects created with `new BrowserWindow` have the following instance methods:
|
||||
#### `win.setAutoResize(options)` _Experimental_
|
||||
|
||||
* `options` Object
|
||||
* `width` - If `true`, the view's width will grow and shrink together with
|
||||
the window. `false` by default.
|
||||
* `height` - If `true`, the view's height will grow and shrink together with
|
||||
the window. `false` by default.
|
||||
* `width` Boolean - If `true`, the view's width will grow and shrink together
|
||||
with the window. `false` by default.
|
||||
* `height` Boolean - If `true`, the view's height will grow and shrink
|
||||
together with the window. `false` by default.
|
||||
|
||||
#### `win.setBounds(bounds)` _Experimental_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user