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

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

transition
required
ComputedRef<string | false>
Computed ref resolving to the current transition name, or false when transitions are disabled.
isReversed
required
Ref<boolean>
Reactive flag set to true when the tab selection moves backwards — panels use it to reverse their transition direction.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Injecting the panels context in a custom panel

typescript