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:
| Property | Type | Required | Description |
|---|---|---|---|
| data | string | Yes | The contents of the clipboard |
| success | function | No | Callback function for a successful API call |
| fail | function | No | Callback function for a failed API call |
| complete | function | No | Callback function for API call completion |
