sercrod

*clipboard

*clipboard writes text by default. Use *clipboard.write or *clipboard.copy for explicit writes, and *clipboard.read for explicit reads. All forms delegate to sercrod.clipboard. Matching n-clipboard forms are aliases.

<button type="button" *clipboard.write="message">
  Copy
</button>

<button type="button" *clipboard.read *response="'clipboardText'">
  Read
</button>

Format suffixes are available: .text, .raw, .json, and .lines. Clipboard access runs only from explicit user actions.