Links
Comment on page
✂

Clipboard

🧋 Bubble.io Plugin

[Element] Natively - Clipboard

Events:

  • Clipboard value received

States:

  • Latest clipboard value - text

Actions:

  • Copy text to clipboard
  • Get text from clipboard

🛠 JavaScript SDK

Device App Info

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);