Skip to content

VSelectionControlGroup API

属性

名称类型默认值
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 .
defaults-target
The target component to provide defaults values for.
density
调整组件使用的垂直高度。
disabled
移除组件的单击或 target 功能。
error
Puts the input in a manual error state.
false-icon
处于不活动状态时使用的图标。
id
Sets the DOM id on the component.
inline
Puts children inputs into a row.
model-value
组件 v-mode 的值。如果组件支持多属性,默认为空数组。
multiple
Changes select to multiple. Accepts array for value.
name
设置组件的 name 属性.
readonly
Puts input in readonly state.
ripple
应用 v-ripple 指令。
theme
Specify a theme for this component and all of its children.
true-icon
处于激活状态时使用的图标.
type
Provides the default type for children selection controls.
value-comparator
Apply a custom comparison algorithm to compare model-value and values contains in the items prop.

事件

名称类型
update:modelValue
当组件的 model-value 更改时引发的事件。

插槽

default
默认Vue 插槽。

SASS 变量

名称默认值
$selection-control-group-grid-area