Small edits
This commit is contained in:
parent
3001ef7980
commit
715a88026e
2 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# clipboard
|
# clipboard
|
||||||
|
|
||||||
The `clipboard` object provides methods to perform copy and paste operations.
|
The `clipboard` module provides methods to perform copy and paste operations.
|
||||||
The following example shows how to write a string to the clipboard:
|
The following example shows how to write a string to the clipboard:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
@ -19,7 +19,7 @@ console.log(clipboard.readText('selection'));
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
The `clipboard` object has the following methods:
|
The `clipboard` module has the following methods:
|
||||||
|
|
||||||
### `clipboard.readText([type])`
|
### `clipboard.readText([type])`
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ The `crash-reporter` module has the following methods:
|
||||||
|
|
||||||
### `crashReporter.start(options)`
|
### `crashReporter.start(options)`
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object, properties:
|
||||||
* `productName` String, default: Electron.
|
* `productName` String, default: Electron.
|
||||||
* `companyName` String, default: GitHub, Inc.
|
* `companyName` String, default: GitHub, Inc.
|
||||||
* `submitUrl` String, default: http://54.249.141.255:1127/post.
|
* `submitUrl` String, default: http://54.249.141.255:1127/post.
|
||||||
|
@ -50,7 +50,8 @@ sent or the crash reporter has not been started, `null` is returned.
|
||||||
|
|
||||||
### `crashReporter.getUploadedReports()`
|
### `crashReporter.getUploadedReports()`
|
||||||
|
|
||||||
Returns all uploaded crash reports. Each report contains the date and uploaded ID.
|
Returns all uploaded crash reports. Each report contains the date and uploaded
|
||||||
|
ID.
|
||||||
|
|
||||||
## crash-reporter Payload
|
## crash-reporter Payload
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue