Merge pull request #480 from lusbuab/patch-1
Note for OS X, regarding sheets.
This commit is contained in:
commit
b29ab48032
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' ]}));
|
||||
```
|
||||
|
||||
**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])
|
||||
|
||||
* `browserWindow` BrowserWindow
|
||||
|
|
Loading…
Reference in a new issue