Cleanup docs and standardize structs

This commit is contained in:
Samuel Attard 2016-10-13 14:38:06 +11:00
parent 46cd8708a4
commit 78343a62b8
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF
5 changed files with 24 additions and 29 deletions

View file

@ -147,7 +147,7 @@ Returns:
`new-window`, `save-to-disk` and `other`.
* `options` Object - The options which will be used for creating the new
`BrowserWindow`.
* `additionalFeatures` Array - The non-standard features (features not handled
* `additionalFeatures` String[] - The non-standard features (features not handled
by Chromium or Electron) given to `window.open()`.
Emitted when the page requests to open a new window for a `url`. It could be
@ -428,9 +428,7 @@ Emitted when there is a new context menu that needs to be handled.
Returns:
* `event` Event
* `devices` [Objects]
* `deviceName` String
* `deviceId` String
* `devices` [BluetoothDevice[]](structures/bluetooth-device.md)
* `callback` Function
* `deviceId` String
@ -1069,7 +1067,7 @@ End subscribing for frame presentation events.
#### `contents.startDrag(item)`
* `item` object
* `item` Object
* `file` String
* `icon` [NativeImage](native-image.md)