ITimelineProps

interface
Component Props

Full props contract for <OrigamTimeline>. Supports vertical and horizontal orientations, data-driven rendering via items, side alignment, and the full color/size/density surface.

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

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.

items
ITimelineEntry[]
Data array driving automatic item rendering. Each entry maps to an OrigamTimelineItem.
orientation
TTimelineOrientation
Layout direction: vertical (default, top to bottom) or horizontal (left to right with scroll-snap).
side
TTimelineSide
Default side for item content relative to the connector line.
truncateLine
boolean
Hide the trailing connector line after the last item.
ariaLabel
string
Accessible label for the timeline landmark (aria-label on the root element).

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

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

Horizontal timeline with alternating sides

vue