Includes functions dealing with system clipboard.
-
returns object containing clipboard data
-
returns either string or undefined if clipboard does not contain textual data.
-
Puts data into clipboard.
-
Puts the string into clipboard.
-
Checks if clipboard contains data of given type: "text" | "html" | "image" | "file" | "json" | "link".
Clipboard data object is a plain JS object that may contain following properties:
text
: string - text;html
: string - html fragment;json
: value - arbitrary JSON data;file
: [path0,path1, ...] - list of file paths;link
: { caption: string, url: string} - link to some file / location;image
: Graphics.Image - image object;