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
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- 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.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Custom trigger and feedback slots