0.1.6 • Published 6 years ago

iview-cascade-select v0.1.6

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

iview-cascade-select

Project setup

npm install iview-cascade-select

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

API

selects Attributes

属性说明类型参数默认值
selects选择数据Array-[]
inline是否内联显示Boolean-true
gap间隔像素Number-5
all-text显示全部的文字String-全部
all是否显示全部Boolean-true
clearable是否可以清空选项Boolean-true
placeholder选择框默认文字String请选择
placement弹窗的展开方向,可选值为 top、bottom、top-start、bottom-start、top-end、bottom-endStringbottom-start
transfer是否将弹层放置于 body 内Booleanfalse
cache是否缓存Boolean-true

select Configs

属性说明类型默认值
style样式Object-
label-stylelabel 样式Object-
labellabel 名称String-
all是否显示全部Booleantrue
clearable是否可以清空选项Booleantrue
placeholder选择框默认文字String请选择
placement弹窗的展开方向,可选值为 top、bottom、top-start、bottom-start、top-end、bottom-endStringbottom-start
transfer是否将弹层放置于 body 内Booleanfalse
options获取数据函数Function-
filter过滤数据函数Function-

Events

事件名说明参数
change每个下拉框改变时触发当前下标,当前下标值
0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago