ITabPanelsProvide
interface
Provide / Inject
Context provided by <OrigamTabPanels> to descendant panels — exposes the active transition name and the reversed-direction flag so each panel can animate correctly without re-declaring props.
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.
- transitionrequisComputedRef<string | false>
- Computed ref resolving to the current transition name, or false when transitions are disabled.
- isReversedrequisRef<boolean>
- Reactive flag set to true when the tab selection moves backwards — panels use it to reverse their transition direction.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Injecting the panels context in a custom panel