mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Update shell openExternal docs (from review)
This commit is contained in:
committed by
Cheng Zhao
parent
9ca684d87f
commit
c78567aba6
@@ -40,9 +40,11 @@ Open the given file in the desktop's default manner.
|
||||
* `options` Object (optional) _macOS_
|
||||
* `activate` Boolean - `true` to bring the opened application to the
|
||||
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.
|
||||
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
|
||||
example, mailto: URLs in the user's default mail agent).
|
||||
|
||||
Reference in New Issue
Block a user