docs: clipboard.readImage/.writeImage
This commit is contained in:
parent
ae5586408f
commit
0bb7abd7a4
1 changed files with 13 additions and 0 deletions
|
@ -30,6 +30,19 @@ Returns the content in clipboard as plain text.
|
|||
|
||||
Writes the `text` into clipboard as plain text.
|
||||
|
||||
## clipboard.readImage([type])
|
||||
|
||||
* `type` String
|
||||
|
||||
Returns the content in clipboard as [NativeImage](native-image.md).
|
||||
|
||||
## clipboard.writeImage(image[, type])
|
||||
|
||||
* `image` [NativeImage](native-image.md)
|
||||
* `type` String
|
||||
|
||||
Writes the `image` into clipboard.
|
||||
|
||||
## clipboard.clear([type])
|
||||
|
||||
* `type` String
|
||||
|
|
Loading…
Reference in a new issue