VStepperVertical API
属性
名称 | 类型 | 默认值 |
---|---|---|
alt-labels | ||
Places the labels beneath the step. | ||
bg-color | ||
Applies specified color to the control’s background. Used on components that also support the color prop. - supports utility colors (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page . | ||
collapse-icon | ||
Icon used when the expansion panel is in a collapsable state. | ||
color | ||
Applies specified color to the control - supports utility colors (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page . | ||
disabled | ||
Disables the expansion-panel content. | ||
eager | ||
Forces the component’s content to render when it mounts. This is useful if you have content that will not be rendered in the DOM that you want crawled for SEO. | ||
editable | ||
Marks step as editable. | ||
elevation | ||
Designates an elevation applied to the component between 0 and 24. You can find more information on the elevation page . | ||
expand-icon | ||
Icon used when the expansion panel is in a expandable state. | ||
flat | ||
Removes the expansion-panel’s elevation and borders. | ||
focusable | ||
Makes the expansion-panel headers focusable. | ||
hide-actions | ||
Hide actions bar (prev and next buttons). | ||
item-title | ||
Property on supplied items that contains its title. | ||
item-value | ||
Property on supplied items that contains its value. | ||
items | ||
An array of strings or objects used for automatically generating children components. | ||
mandatory | ||
Forces at least one item to always be selected (if available). | ||
max | ||
Sets a maximum number of selections that can be made. | ||
mobile | ||
Forces the stepper into a mobile state, removing labels from stepper items. | ||
model-value | ||
The v-model value of the component. If component supports the multiple prop, this defaults to an empty array. | ||
multiple | ||
Allows one to select multiple items. | ||
next-text | ||
The text used for the Next button. | ||
non-linear | ||
Allow user to jump to any step. | ||
prev-text | ||
The text used for the Prev button. | ||
readonly | ||
Makes the expansion-panel content read only. | ||
ripple | ||
Applies the v-ripple directive. | ||
rounded | ||
Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page . | ||
selected-class | ||
Configure the active CSS class applied when an item is selected. | ||
tag | ||
Specify a custom tag used on the root element. | ||
text | ||
Specify content text for the component. | ||
theme | ||
Specify a theme for this component and all of its children. | ||
tile | ||
Removes the border-radius. | ||
title | ||
pecify a title text for the component. | ||
value | ||
Controls the opened/closed state of content. | ||
variant | ||
Applies a distinct style to the component. |
事件
名称 | 类型 |
---|---|
update:modelValue | |
Event that is emitted when the component’s model changes. |
插槽
actions |
Slot for customizing v-stepper-actions . |
default |
The default Vue slot. |
icon |
Slot for customizing all stepper item icons. |
item |
Define a custom item appearance. |
next |
Slot for customizing the next step functionailty |
prev |
Slot for customizing the prev step functionality |
subtitle |
Slot for the component’s subtitle content. |
title |
Slot for the component’s title content. |
[`header-item.${string}`] |
Slot for customizing header items when using the items prop. |
[`item.${string}`] |
Slot for customizing the content for each step. |