Skip to content

sud.getClipboardData ​

JS
    sud.getClipboardData(Object object)

Get the contents of the system clipboard

Parameters

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

object properties:

PropertyTypeRequiredDescription
successfunctionNoCallback function for a successful API call
failfunctionNoCallback function for a failed API call
completefunctionNoCallback function for API call completion

Parameters of the success callback function

  • Object res: Returns the system clipboard data

System clipboard data properties:

PropertyTypeDescription
datastringThe contents of the clipboard