copyText
Replace the clipboard text.
js
copyText(text)Arguments
| Argument | Type | Meaning |
|---|---|---|
text | string | New clipboard contents. |
Returns
No return value (undefined).
Example
js
copyText("Hello");Replace the clipboard text.
copyText(text)| Argument | Type | Meaning |
|---|---|---|
text | string | New clipboard contents. |
No return value (undefined).
copyText("Hello");