Clipboard

clipboard.get()

Syntax

var clip = clipboard.get();

Return value

A String containing the current clipboard text

clipboard.set()

Syntax

clipboard.set(string);

Parameters

string: A String that you want to be copied to the clipboard