Comment on page
✂
Clipboard
- Clipboard value received
- Latest clipboard value - text
- Copy text to clipboard
- Get text from clipboard
1
// Check if native app
2
const clipboard = new NativelyClipboard();
3
clipboard.copy(text);
4
const callback = function (resp) {
5
console.log(resp.text);
6
}
7
clipboard.paste(callback);
Last modified 8mo ago