Skip to content

i-element / Options / OptionsProps

Interface: OptionsProps

Options.OptionsProps

列表选项组件的属性

Table of contents

Properties

Properties

closeAfterClick

Optional closeAfterClick: boolean

点击后关闭,同option

Default

ts
true
true

minwidth

Optional minwidth: null | number

最小宽度,同option

Default

ts
0
0

modelValue

modelValue: OptionValueType | OptionValueType[]

当前选中值


multiple

Optional multiple: boolean

是否多选

Default

ts
false
false

options

Optional options: null | OptionProps[]

列表数据

Default

ts
[]
[]

showCheckBox

Optional showCheckBox: boolean

是否显示勾选框,同option

Default

ts
false
false

showCheckedIcon

Optional showCheckedIcon: boolean

是否显示选中时的勾选图标,同option

Default

ts
true
true

width

Optional width: null | number

宽度,(若不设置默认100%,子选项宽度适应内容),同option

Default

ts
null
null