ElectronClipboard.writeText method
ElectronClipboard › writeText
Unofficial
Writes text to the clipboard.Signature:
writeText(text: string, type?: 'clipboard' | 'selection'): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| text | string | The text to write. |
| type? | 'clipboard' | 'selection' | The clipboard type. |
Returns: void