mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
Small edits
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 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:
|
||||
|
||||
```javascript
|
||||
@@ -19,7 +19,7 @@ console.log(clipboard.readText('selection'));
|
||||
|
||||
## Methods
|
||||
|
||||
The `clipboard` object has the following methods:
|
||||
The `clipboard` module has the following methods:
|
||||
|
||||
### `clipboard.readText([type])`
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ The `crash-reporter` module has the following methods:
|
||||
|
||||
### `crashReporter.start(options)`
|
||||
|
||||
* `options` Object
|
||||
* `options` Object, properties:
|
||||
* `productName` String, default: Electron.
|
||||
* `companyName` String, default: GitHub, Inc.
|
||||
* `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()`
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user