Add new menu.popup signature to planned breaking changes
This commit is contained in:
parent
d686cf77e9
commit
55f90b4a4b
1 changed files with 9 additions and 0 deletions
|
@ -57,6 +57,15 @@ crashReporter.start({
|
|||
})
|
||||
```
|
||||
|
||||
## `menu`
|
||||
|
||||
```js
|
||||
// Deprecated
|
||||
menu.popup(browserWindow, 100, 200, 2)
|
||||
// Replace with
|
||||
menu.popup(browserWindow, {x: 100, y: 200, positioningItem: 2})
|
||||
```
|
||||
|
||||
## `nativeImage`
|
||||
|
||||
```js
|
||||
|
|
Loading…
Reference in a new issue