eo-dropdown-select
<eo-dropdown-select>
下拉式选择构件,常用于标题。
Examples
Basic
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
defaultValue | 默认值,仅初始设置有效 | string | number | ||
options | DropdownSelectOption[] | |||
size | "medium" | "large" | "medium" | ||
loading | boolean | |||
labelMaxWidth | string | number | "650px" | ||
dropdownMaxWidth | string | number | "500px" |
Slots
Name | Description |
---|---|
prefix | 下拉列表前置内容 |
Events
Name | Description | Event Detail |
---|---|---|
change | DropdownSelectOption |
Methods
Name | Description | Params | Returns |
---|---|---|---|
setDefaultOption | option: DropdownSelectOption |
Type references
DropdownSelectOption
Name | Type | Required | Description |
---|---|---|---|
label | string | ✅ | |
value | string | number | ✅ | |
disabled | boolean |