Update shell openExternal docs (from review)
This commit is contained in:
parent
9ca684d87f
commit
c78567aba6
1 changed files with 3 additions and 1 deletions
|
@ -40,9 +40,11 @@ Open the given file in the desktop's default manner.
|
||||||
* `options` Object (optional) _macOS_
|
* `options` Object (optional) _macOS_
|
||||||
* `activate` Boolean - `true` to bring the opened application to the
|
* `activate` Boolean - `true` to bring the opened application to the
|
||||||
foreground. The default is `true`.
|
foreground. The default is `true`.
|
||||||
* `callback` Function (optional) _macOS_
|
* `callback` Function (optional) - If specified will perform the open asynchronously. _macOS_
|
||||||
|
* `opened` Boolean
|
||||||
|
|
||||||
Returns `Boolean` - Whether an application was available to open the URL.
|
Returns `Boolean` - Whether an application was available to open the URL.
|
||||||
|
If callback is specified, it will return whether it was able to initiate the open call.
|
||||||
|
|
||||||
Open the given external protocol URL in the desktop's default manner. (For
|
Open the given external protocol URL in the desktop's default manner. (For
|
||||||
example, mailto: URLs in the user's default mail agent).
|
example, mailto: URLs in the user's default mail agent).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue