IClipboardEmits
interface
Action & Command
Emits for <OrigamClipboard>. Two events: copy (success, carries the payload string) and error (failure, carries the thrown Error when the clipboard API is denied or unavailable).
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Reacting to copy success and failure