Functions
An array of supported formats for the clipboard type.
Clears the clipboard content.
Whether the clipboard supports the specified format.
Returns an Object containing title and url keys representing the bookmark in the clipboard. The title and url values will be empty strings when the bookmark is unavailable. The title value will always be empty on Windows.
Reads format type from the clipboard.
The text on the find pasteboard, which is the pasteboard that holds information about the current state of the active application’s find panel.
The content in the clipboard as markup.
The image content in the clipboard.
The content in the clipboard as RTF.
The content in the clipboard as plain text.
Writes data to the clipboard.
Writes the title (macOS only) and url into the clipboard as a bookmark.
Writes the buffer into the clipboard as format.
Writes the text into the find pasteboard (the pasteboard that holds information about the current state of the active application’s find panel) as plain text. This method uses synchronous IPC when called from the renderer process.
Writes markup to the clipboard.
Writes image to the clipboard.
Writes the text into the clipboard in RTF.
Writes the text into the clipboard as plain text.