Browse Source

Document read/writeFindText

Kevin Sawicki 8 years ago
parent
commit
7ffc1faf5b
1 changed files with 13 additions and 0 deletions
  1. 13 0
      docs/api/clipboard.md

+ 13 - 0
docs/api/clipboard.md

@@ -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)