Add new menu.popup signature to planned breaking changes

This commit is contained in:
Kevin Sawicki 2017-02-16 08:35:01 -08:00
parent d686cf77e9
commit 55f90b4a4b

View file

@ -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` ## `nativeImage`
```js ```js