copy(text: String, htmlFormat: Boolean);
text. Text copied to the clipboard.
htmlFormat. Determines whether the text is formatted (in HTML format). If the parameter is True the text is formatted, otherwise this is a plain text. This is an optional parameter, by default its value is not defined.
The copy method copies text to clipboard.
The method returns an object of the PP.Ui.Clipboard type.
The property use is given in the page with description of the Clipboard.getCopyPasteTextArea and Clipboard.getCopyPasteHTMLNode methods.
See also: