Merge pull request #7277 from electron/dictionary-to-object
Set parameter type to Object instead of Dictionary
This commit is contained in:
commit
85702604c3
2 changed files with 3 additions and 3 deletions
|
@ -999,7 +999,7 @@ menu bar.
|
||||||
|
|
||||||
* `progress` Double
|
* `progress` Double
|
||||||
* `options` Object (optional)
|
* `options` Object (optional)
|
||||||
* `mode` String _Windows_ - Mode for the progres bar (`none`, `normal`, `indeterminate`, `error`, or `paused`)
|
* `mode` String _Windows_ - Mode for the progress bar (`none`, `normal`, `indeterminate`, `error`, or `paused`)
|
||||||
|
|
||||||
Sets progress value in progress bar. Valid range is [0, 1.0].
|
Sets progress value in progress bar. Valid range is [0, 1.0].
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ This method returns `true` if the Swipe between pages setting is on, and `false`
|
||||||
### `systemPreferences.postNotification(event, userInfo)` _macOS_
|
### `systemPreferences.postNotification(event, userInfo)` _macOS_
|
||||||
|
|
||||||
* `event` String
|
* `event` String
|
||||||
* `userInfo` Dictionary
|
* `userInfo` Object
|
||||||
|
|
||||||
Posts `event` as native notifications of macOS. The `userInfo` is an Object
|
Posts `event` as native notifications of macOS. The `userInfo` is an Object
|
||||||
that contains the user information dictionary sent along with the notification.
|
that contains the user information dictionary sent along with the notification.
|
||||||
|
@ -41,7 +41,7 @@ that contains the user information dictionary sent along with the notification.
|
||||||
### `systemPreferences.postLocalNotification(event, userInfo)` _macOS_
|
### `systemPreferences.postLocalNotification(event, userInfo)` _macOS_
|
||||||
|
|
||||||
* `event` String
|
* `event` String
|
||||||
* `userInfo` Dictionary
|
* `userInfo` Object
|
||||||
|
|
||||||
Posts `event` as native notifications of macOS. The `userInfo` is an Object
|
Posts `event` as native notifications of macOS. The `userInfo` is an Object
|
||||||
that contains the user information dictionary sent along with the notification.
|
that contains the user information dictionary sent along with the notification.
|
||||||
|
|
Loading…
Add table
Reference in a new issue