Merge pull request #8038 from electron/danhp/close-file-preview
Add 'win.closeFilePreview()'
This commit is contained in:
commit
774b2f99f2
8 changed files with 34 additions and 0 deletions
|
@ -682,6 +682,10 @@ height areas you have within the overall content view.
|
|||
|
||||
Uses [Quick Look][quick-look] to preview a file at a given path.
|
||||
|
||||
#### `win.closeFilePreview()` _macOS_
|
||||
|
||||
Closes the currently open [Quick Look][quick-look] panel.
|
||||
|
||||
#### `win.setBounds(bounds[, animate])`
|
||||
|
||||
* `bounds` [Rectangle](structures/rectangle.md)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue