IClipboardSlots
interface
Action & Command
Slot signatures for <OrigamClipboard>. The default slot receives copy/copied/error bindings for a fully custom trigger. The feedback slot replaces the success indicator shown after a successful copy.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- default(bindings: IClipboardScopedSlotBindings) => any
- Custom trigger. Scoped — receives { copy, copied, error }. When omitted the component renders a default icon button with mdi:mdi-content-copy.
- feedback(bindings: { copied: boolean }) => any
- Custom feedback marker rendered when copied is true. Scoped — receives the boolean for symmetry with the default slot.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom trigger and feedback slots