- 快速上手
 布局
- 卡片 card
 - 表格 ui.table
 表单
- 上传组件 KLUpload
 - 复选框 check
 - 复选组 check.group
 - 日期选择 date.picker
 - 表单项 form.item
 - 多级选择 multi.select
 - 单选组 radio.group
 - 联动选择 select.group
 - 按钮 ui.button
 - 表单 ui.form
 - 输入框 ui.input
 - 下拉选择 ui.select
 - 展示文本 ui.text
 - 文本输入 ui.textarea
 通知
- 遮罩 mask
 - 模态框 modal
 - 通知 notify
 - 确认提示 pop.confirm
 导航
- 面包屑 KLCrumb
 - 两级菜单 menu
 - 分页 pager
 - 菜单栏 sidebar
 - 步骤 steps
 - 选项卡 tabs
 其它
- 图标 KLIcon
 - 文字提示 tooltip
 
代码演示
基本形式
  | 
  | 
多选
  | 
  | 
API
Classes
Events
TreeSelect
Kind: global class
Extend: Select
new TreeSelect()
| Param | Type | Default | Description | 
|---|---|---|---|
| [options.data] | object | 
= 绑定属性 | |
| [options.data.source] | Array.<object> | 
[] | 
<=> 数据源 | 
| [options.data.source[].name] | string | 
=> 每项的内容 | |
| [options.data.key] | string | 
"id" | 
=> 数据项的键 | 
| [options.data.nameKey] | string | 
"name" | 
=> 数据项的name键 | 
| [options.data.childKey] | string | 
"children" | 
=> 数据子项的键 | 
| [options.data.value] | string | 
null | 
<=> 当前选择值 | 
| [options.data.selected] | object | 
 | 
<=> 当前选择项 | 
| [options.data.separator] | string | 
"," | 
=> 多选时value分隔符 | 
| [options.data.readonly] | boolean | 
false | 
=> 是否只读 | 
| [options.data.multiple] | boolean | 
false | 
=> 是否多选 | 
| [options.data.disabled] | boolean | 
false | 
=> 是否禁用 | 
| [options.data.visible] | boolean | 
true | 
=> 是否显示 | 
| [options.data.class] | string | 
=> 补充class | 
“select 选择某一项时触发”
Kind: event emitted
Properties
| Name | Type | Description | 
|---|---|---|
| sender | object | 
事件发送对象 | 
| selected | object | 
当前选择项 | 
      想让文档更完善?
      
        来 GitHub 提个 PR 吧!