@alicd/crui-tag-select

0.0.21 • Public • Published

category: Components type: UI Views component: Form chinese: Tag 选择器 english: TagSelect source: next-tag

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

API

Properties Descrition Type Default
value 组件选中的值 any null
defaultValue 组件默认选中的值 any null
style 组件样式 Object null
className 自定义class String -
multiple 是否多选 Boolean false
autoSpread 是否默认展开 Boolean false
size 大小,可选值为 small,medium,large String medium
className 组件 class 样式配置 String null
onChange 组件值变化时的回调函数 Function(value) Function ()=>{}
dataSource 选项值列表数据,格式参考 [{text: 'text1', value: 1},{text: 'text2', value: 2}] Array null
showUnlimited 是否展示不限按钮 Boolean true
showSpread 是否展示展开/收起按钮 Boolean true

Readme

Keywords

Package Sidebar

Install

npm i @alicd/crui-tag-select

Weekly Downloads

5

Version

0.0.21

License

ISC

Unpacked Size

863 kB

Total Files

27

Last publish

Collaborators

  • snowden_
  • vincent.ljq
  • zhen.hz
  • cismous
  • juntao.wjt
  • xiongqi
  • mingche_286130
  • joshuasui
  • mmpc
  • 0little
  • yf871020
  • zyy7259
  • later_7
  • qijian1990
  • gepik
  • jimmyxuster
  • helloljq
  • rentj1
  • js8zq332
  • xiaobc