Consolidate note on experimental APIs
This commit is contained in:
parent
f74d7d71e6
commit
c2073a3c45
1 changed files with 2 additions and 4 deletions
|
@ -21,6 +21,8 @@ console.log(clipboard.readText('selection'));
|
||||||
|
|
||||||
The `clipboard` module has the following methods:
|
The `clipboard` module has the following methods:
|
||||||
|
|
||||||
|
**Note:** Experimental APIs are marked as such and could be removed in future.
|
||||||
|
|
||||||
### `clipboard.readText([type])`
|
### `clipboard.readText([type])`
|
||||||
|
|
||||||
* `type` String (optional)
|
* `type` String (optional)
|
||||||
|
@ -84,8 +86,6 @@ var clipboard = require('clipboard');
|
||||||
console.log(clipboard.has('<p>selection</p>'));
|
console.log(clipboard.has('<p>selection</p>'));
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** This API is experimental and could be removed in future.
|
|
||||||
|
|
||||||
### `clipboard.read(data[, type])` _Experimental_
|
### `clipboard.read(data[, type])` _Experimental_
|
||||||
|
|
||||||
* `data` String
|
* `data` String
|
||||||
|
@ -93,8 +93,6 @@ console.log(clipboard.has('<p>selection</p>'));
|
||||||
|
|
||||||
Reads `data` from the clipboard.
|
Reads `data` from the clipboard.
|
||||||
|
|
||||||
**Note:** This API is experimental and could be removed in future.
|
|
||||||
|
|
||||||
### `clipboard.write(data[, type])`
|
### `clipboard.write(data[, type])`
|
||||||
|
|
||||||
* `data` Object
|
* `data` Object
|
||||||
|
|
Loading…
Reference in a new issue