import clipboard from 'clipboard'
Set or get the clipboard content as text
getundefined,
if no clipboard content is available or if it can't be converted to a
string.set| Name | Type | Description |
|---|---|---|
text |
string | clipboard content as text |
import clipboard from 'clipboard' // set the clipboard content clipboard.text = 'Hello World!'