0.0.21 • Published 6 years ago

@alicd/crui-tag-select v0.0.21

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
6 years ago

category: Components type: UI Views component: Form chinese: Tag 选择器 english: TagSelect

source: next-tag

主要用于快速选择数据,和 Tag 类似,Tag数量超出展示区域时,会默认展示 更多 按钮

API

PropertiesDescritionTypeDefault
value组件选中的值anynull
defaultValue组件默认选中的值anynull
style组件样式Objectnull
className自定义classString-
multiple是否多选Booleanfalse
autoSpread是否默认展开Booleanfalse
size大小,可选值为 small,medium,largeStringmedium
className组件 class 样式配置Stringnull
onChange组件值变化时的回调函数 Function(value)Function()=>{}
dataSource选项值列表数据,格式参考 [{text: 'text1', value: 1},{text: 'text2', value: 2}]Arraynull
showUnlimited是否展示不限按钮Booleantrue
showSpread是否展示展开/收起按钮Booleantrue