UNPKG

cjd-parkball

Version:

> 中后台业务组件库,中后台就像公园,进入需要买门票(登录),所以以 Parkball(公园球) 命名,公园内必定捕获!作为一个组件库,提供使用方法文档,方便开发者的调用

42 lines (32 loc) 1.07 kB
--- title: 层级树 title_en: layer tree name: layerTree publishDate: 2018-6-13 category: 1 order: 2 description: layerTree 组件的描述 --- # 何时使用 ## 参数 ### Layer Tree | 名称 | 描述 | 默认值 | | ---- | ---------- | -------- | | layerTreeData | layer tree data store | null | | detailTpl | detail栏模版和数据 | null | | layerTreeHeight | layer tree高度 | `300px` | | detailWidth | layer tree detail栏宽度 | `400px` | | onSelect | tree item选中时回调 | null | | onEdit | tree item编辑时回调 | null | | onDel | tree item删除时回调 | null | | onAdd | tree 增加item时回调 | null | ### Layer Tree Data | 名称 | 描述 | 默认值 | | ---- | ---------- | -------- | | isDeletable | tree item是否可以删除 | `false` | ### detailTpl Data | 名称 | 描述 | 默认值 | | ---- | ---------- | -------- | | layerLevel | layerTree总共几级,detail column在第几级显示 | null | | tpl | layerTree detail模版 | null | | tplData | layerTree detail模版数据 | null |