Note for OS X, regarding sheets.
Added a note for OS X users, to tell how to present dialogs as sheets.
This commit is contained in:
parent
66ab127389
commit
2f967149fc
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ var dialog = require('dialog');
|
||||||
console.log(dialog.showOpenDialog({ properties: [ 'openFile', 'openDirectory', 'multiSelections' ]}));
|
console.log(dialog.showOpenDialog({ properties: [ 'openFile', 'openDirectory', 'multiSelections' ]}));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note for OS X**: If you want to present dialogs as sheets, the only thing you have to do is to provide a `BrowserWindow` reference in the `browserWindow` parameter.
|
||||||
|
|
||||||
## dialog.showOpenDialog([browserWindow], options, [callback])
|
## dialog.showOpenDialog([browserWindow], options, [callback])
|
||||||
|
|
||||||
* `browserWindow` BrowserWindow
|
* `browserWindow` BrowserWindow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue