跳到主要内容

eo-dropdown-select

<eo-dropdown-select>

下拉式选择构件,常用于标题。

Examples

Basic

Playground

Properties

NameDescriptionTypeDefaultRequired
defaultValue

默认值,仅初始设置有效

string | number
optionsDropdownSelectOption[]
size"medium" | "large" "medium"
loadingboolean
labelMaxWidthstring | number "650px"
dropdownMaxWidthstring | number "500px"

Slots

NameDescription
prefix

下拉列表前置内容

Events

NameDescriptionEvent Detail
changeDropdownSelectOption

Methods

NameDescriptionParamsReturns
setDefaultOptionoption: DropdownSelectOption

Type references

DropdownSelectOption

NameTypeRequiredDescription
labelstring
valuestring | number
disabledboolean