Merge pull request #8038 from electron/danhp/close-file-preview

Add 'win.closeFilePreview()'
This commit is contained in:
Kevin Sawicki 2016-11-28 14:47:06 -08:00 committed by GitHub
commit 774b2f99f2
8 changed files with 34 additions and 0 deletions

View file

@ -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)