ICheckboxBtnSlots
interface
Form & Input
Slot signatures for <OrigamCheckboxBtn>. Extends ICommonsComponentSlots with a label slot and an input slot that exposes the underlying props, icon and color state for full customisation.
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.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
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.
- label() => any
- Replaces the default label text. Use for rich label content (links, icons, formatted text).
- input(data: { props: any, icon?: TIcon, textColorStyles?: TColor, backgroundColorStyles?: TColor, model: any }) => any
- Replaces the entire checkbox visual (box + icon). Receives props, the resolved icon, text/background color style maps, and the current model value.
É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 label slot with a link