ICheckboxSlots

interface
Form & Input

Slot signatures for <OrigamCheckbox>. Provides a default slot for full layout control, a label slot for rich label content, and an input slot for replacing the checkbox visual itself.

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.

typescript

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
(data?: { id?: string, messagesId?: string, isDisabled?: boolean, isReadonly?: boolean, isValid?: boolean }) => any
Full layout override. Receives the generated ids and derived boolean state flags.
label
() => any
Replaces the label text. Use for rich content (links, icons, formatted text).
input
(data: { props: any, icon?: TIcon, textColorStyles?: TColor, backgroundColorStyles?: TColor, model: any }) => any
Replaces the checkbox visual (box + icon). Receives the resolved props, icon, color style maps, and the current model.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Default slot for a completely custom layout

vue