VTimeline API
name | type | default |
|---|---|---|
'start' | 'center' | 'center' | |
Places the timeline dot at the top or center of the timeline item. | ||
'default' | 'comfortable' | 'compact' | 'default' | |
Adjusts the vertical height used by the component. | ||
'vertical' | 'horizontal' | 'vertical' | |
Display timeline in a vertical or horizontal direction. | ||
string
| undefined | |
Color of the item dot. | ||
boolean
| false | |
Remove outer border of item dot, making the color fill the entire dot. | ||
boolean
| undefined | |
Hide opposite content if it exists. | ||
string
| undefined | |
Color of the icon. | ||
'center' | 'auto' | 'auto' | |
Places timeline line at the center or automatically on the left or right side. | ||
string
| undefined | |
Color of the timeline line. | ||
string | number | 0 | |
Specifies the distance between the line and the dot of timeline items. | ||
string | number | 2 | |
Thickness of the timeline line. | ||
'end' | 'start' | undefined | |
Display all timeline items on one side of the timeline, either start or end. | ||
string | number | 'default' | |
Sets the height and width of the component. Default unit is px. Can also use the following predefined sizes: x-small, small, default, large, and x-large. | ||
string | (new () => any) | FunctionalComponent | 'div' | |
Specify a custom tag used on the root element. | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
'end' | 'start' | 'both' | undefined | |
Truncate timeline directly at the start or end of the line, or on both ends. | ||
The default Vue slot. | ||
name | default |
|---|---|
min-content min-content auto | |
auto min-content min-content | |
0 min-content auto | |
auto min-content 0 | |
0 | |
rgba(var(--v-border-color), var(--v-border-opacity)) | |
var(--v-timeline-line-inset, 0px) | |
var(--v-timeline-line-thickness) | |
50% | |
tools.map-deep-merge( ( 'x-small': 6px, 'small': 8px, 'default': 8px, 'large': 8px, 'x-large': 10px, ), $timeline-dot-border-sizes ) | |
rgb(var(--v-theme-surface-light)) | |
38px | |
rgb(var(--v-theme-on-surface)) | |
var(--v-timeline-line-inset) | |
4px | |
auto min-content auto | |
minmax(auto, 50%) min-content minmax(auto, 50%) | |
24px |