Update docs for dts again
This commit is contained in:
parent
b036fdfee0
commit
06960704c4
12 changed files with 53 additions and 33 deletions
|
@ -113,7 +113,7 @@ Returns:
|
|||
* `url` String
|
||||
|
||||
Emitted when the user wants to open a URL with the application. Your application's
|
||||
`Info.plist` file must define the url scheme within the `CFBundleURLTypes` key, and
|
||||
`Info.plist` file must define the url scheme within the `CFBundleURLTypes` key, and
|
||||
set `NSPrincipalClass` to `AtomApplication`.
|
||||
|
||||
You should call `event.preventDefault()` if you want to handle this event.
|
||||
|
@ -189,7 +189,7 @@ Returns:
|
|||
|
||||
* `event` Event
|
||||
* `webContents` [WebContents](web-contents.md)
|
||||
* `url` URL
|
||||
* `url` String
|
||||
* `error` String - The error code
|
||||
* `certificate` [Certificate](structures/certificate.md)
|
||||
* `callback` Function
|
||||
|
@ -891,7 +891,7 @@ Sets the application's [dock menu][dock-menu].
|
|||
|
||||
### `app.dock.setIcon(image)` _macOS_
|
||||
|
||||
* `image` [NativeImage](native-image.md)
|
||||
* `image` ([NativeImage](native-image.md) | String)
|
||||
|
||||
Sets the `image` associated with this dock icon.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue