mirror of
https://github.com/electron/electron.git
synced 2026-01-26 15:58:07 -05:00
Merge pull request #7277 from electron/dictionary-to-object
Set parameter type to Object instead of Dictionary
This commit is contained in:
@@ -999,7 +999,7 @@ menu bar.
|
||||
|
||||
* `progress` Double
|
||||
* `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].
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ This method returns `true` if the Swipe between pages setting is on, and `false`
|
||||
### `systemPreferences.postNotification(event, userInfo)` _macOS_
|
||||
|
||||
* `event` String
|
||||
* `userInfo` Dictionary
|
||||
* `userInfo` Object
|
||||
|
||||
Posts `event` as native notifications of macOS. The `userInfo` is an Object
|
||||
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_
|
||||
|
||||
* `event` String
|
||||
* `userInfo` Dictionary
|
||||
* `userInfo` Object
|
||||
|
||||
Posts `event` as native notifications of macOS. The `userInfo` is an Object
|
||||
that contains the user information dictionary sent along with the notification.
|
||||
|
||||
Reference in New Issue
Block a user