Tutorial: Clipboard.writeText

Clipboard.writeText

Writes data into the clipboard as plain text

Example

fin.Clipboard.writeText({
    data: 'hello, world'
}).then(() => console.log('Text On clipboard')).catch(err => console.log(err));