ElectronClipboard.readHTML method
ElectronClipboard › readHTML
Unofficial
Reads the clipboard content as HTML.Signature:
readHTML(type?: "clipboard" | "selection" | undefined): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| type? | "clipboard" | "selection" | undefined | The clipboard type. |
Returns: string — The HTML content.