IGroupItemProvide
interface
Group & Selection
Runtime injection provided by each item component to its descendants — exposes identity, selection state, toggle and a back-reference to the parent group.
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.
- idrequisnumber
- Unique numeric id assigned by the parent group on registration.
- isSelectedrequisRef<boolean>
- Reactive flag — true when this item is in the group selection.
- togglerequis() => void
- Toggles the selected state of this item inside the group.
- selectrequis(value: boolean) => void
- Explicitly sets the selected state to the given boolean.
- selectedClassrequisRef<Array<(string | undefined)> | false>
- Resolved CSS class list to apply when selected, or false when not selected.
- valuerequisRef<unknown>
- Reactive ref wrapping the item value (mirrors the value prop).
- disabledrequisRef<boolean | undefined>
- Reactive disabled state — true prevents selection.
- grouprequisIGroupProvide
- Back-reference to the parent group provide object.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Injecting the group-item provide in a child component