ElectronClipboard.writeBookmark method
ElectronClipboard › writeBookmark
Unofficial
Writes a bookmark to the clipboard. Thetitle is only used on darwin. Only available on darwin and win32.Signature:
writeBookmark(title: string, url: string, type?: 'clipboard' | 'selection'): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| title | string | The bookmark title. |
| url | string | The bookmark URL. |
| type? | 'clipboard' | 'selection' | The clipboard type. |
Returns: void