Skip to content

sud.setClipboardData ​

JS
    sud.setClipboardData(Object object)

Set the contents of the system clipboard

After a successful call, a toast "Content copied" is displayed

Parameters

  • Object object: Input parameters, see the properties in the table below

object properties:

PropertyTypeRequiredDescription
datastringYesThe contents of the clipboard
successfunctionNoCallback function for a successful API call
failfunctionNoCallback function for a failed API call
completefunctionNoCallback function for API call completion