Document read/writeFindText

This commit is contained in:
Kevin Sawicki 2016-10-25 14:09:42 +09:00
parent 1c3b5835f4
commit 7ffc1faf5b

View file

@ -106,6 +106,19 @@ clipboard.write({
})
```
### `clipboard.readFindText()` _macOS_
Returns `String` - The text on the find pasteboard. This method uses synchronous
IPC when called from the renderer process. The cached value is reread from the
find pasteboard whenever the application is activated.
### `clipboard.writeFindText(text)` _macOS_
* `text` String
Writes the `text` into the find pasteboard as plain text. This method uses
synchronous IPC when called from the renderer process.
### `clipboard.clear([type])`
* `type` String (optional)