VSlideGroup API
组件页面
属性
名称 | 类型 | 默认值 |
---|---|---|
center-active | ||
Forces the selected component to be centered. | ||
direction | ||
Switch between horizontal and vertical modes. | ||
disabled | ||
将所有子组件设置为禁用状态。 | ||
mandatory | ||
强制至少选择一个项目(如果可用)。 | ||
max | ||
设置可以选择的最大数量。 | ||
mobile | ||
Determines the display mode of the component. If true, the component will be displayed in mobile mode. If false, the component will be displayed in desktop mode. If null, will be based on the current mobile-breakpoint | ||
mobile-breakpoint | ||
为组件设置和指定移动设备的屏幕尺寸断点 | ||
model-value | ||
组件 v-mode 的值。如果组件支持多属性,默认为空数组。 | ||
multiple | ||
允许您选择多个选项。 | ||
next-icon | ||
The appended slot when arrows are shown. | ||
prev-icon | ||
The prepended slot when arrows are shown. | ||
selected-class | ||
配置被选中项目时应用的 CSS 类名。 | ||
show-arrows | ||
显示溢出箭头指示器时更改。默认情况下,当容器在桌面上溢出时箭头总是显示。当容器在移动设备上溢出时,默认情况下不显示箭头。如果容器溢出,show arrows值为“true”,则允许这些箭头在移动设备上显示。“desktop”值总是在桌面上显示箭头,而值“mobile”则总是在mobile上显示箭头。值“always”总是在桌面和Mobile上显示箭头。在[断点页面](/customization/breakpoints)上查找有关如何自定义断点阈值的详细信息。 | ||
symbol | ||
The Symbol used to hook into group functionality for components like v-btn-toggle and v-bottom-navigation . | ||
tag | ||
指定在根元素上使用的自定义标签。 |
事件
名称 | 类型 |
---|---|
update:modelValue | |
当组件的 model-value 更改时引发的事件。 |
插槽
default |
默认Vue 插槽。 |
next |
The next slot. |
prev |
The prev slot. |
可用属性
focus |
MISSING DESCRIPTION (edit in github ) |
scrollOffset |
MISSING DESCRIPTION (edit in github ) |
scrollTo |
MISSING DESCRIPTION (edit in github ) |
selected |
MISSING DESCRIPTION (edit in github ) |
SASS 变量
名称 | 默认值 |
---|---|
$slide-group-prev-basis | |