Clipboard
my.getClipboard
Get content from the clipboard.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get content from the clipboard.
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback with clipboard content |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
| Property | Type | Description |
|---|---|---|
| text | String | Clipboard text content |
my.getClipboard({
success: (res) => {
console.log('Clipboard:', res.text);
}
});