Browse Source

finish detailed

es6
iapyang 7 years ago
parent
commit
9e20db8869
  1. 2
      uidoc/case/tree/branch_relation.md
  2. 40
      uidoc/detailed/combo/multilayer_select_tree_combo.md
  3. 40
      uidoc/detailed/combo/multilayer_single_tree_combo.md
  4. 40
      uidoc/detailed/combo/select_tree_combo.md
  5. 41
      uidoc/detailed/combo/single_tree_combo.md

2
uidoc/case/tree/branch_relation.md

@ -8,7 +8,7 @@
{% common %}
```javascript
var tree = BI.createWidget({
type: "bi.simple_tree",
type: "bi.branch_relation",
element: 'body',
items: [],
direction: BI.Direction.Right,

40
uidoc/detailed/combo/multilayer_select_tree_combo.md

@ -1,2 +1,40 @@
# multilayer_select_tree_combo
# bi.multilayer_select_tree_combo
### 多层级下拉可选节点树
{% method %}
[source](https://jsfiddle.net/fineui/conjw6dL/)
{% common %}
```javascript
var tree = BI.createWidget({
type: "bi.multilayer_select_tree_combo",
element: 'body',
items: [],
text: "默认值",
width: 300,
});
```
{% endmethod %}
### 参数设置
| 参数 | 说明 | 类型 | 默认值 |
| ------ | ---- | ------ | ---- |
| height | 高度 | number | 30 |
| text | 文本框值 | string | '' |
| items | 元素 | array | null |
### 方法
| 方法名 | 说明 | 回调参数 |
| -------- | ---- | ----------- |
| populate | 刷新内容 | items: 子项数组 |
| setValue | 设置值 | setValue |
| getValue | 获取值 | getValue |

40
uidoc/detailed/combo/multilayer_single_tree_combo.md

@ -1,2 +1,40 @@
# multilayer_single_tree_combo
# bi.multilayer_single_tree_combo
### 多层级下拉单选树
{% method %}
[source](https://jsfiddle.net/fineui/o0u3vp83/)
{% common %}
```javascript
var tree = BI.createWidget({
type: "bi.multilayer_single_tree_combo",
element: 'body',
items: [],
text: "默认值",
width: 300,
});
```
{% endmethod %}
### 参数设置
| 参数 | 说明 | 类型 | 默认值 |
| ------------ | ----- | -------- | ---------- |
| height | 高度 | number | 30 |
| text | 文本框值 | string | '' |
| itemsCreator | 元素创造器 | function | BI.emptyFn |
| items | 元素 | array | null |
### 方法
| 方法名 | 说明 | 回调参数 |
| -------- | ---- | ----------- |
| populate | 刷新内容 | items: 子项数组 |
| setValue | 设置值 | setValue |
| getValue | 获取值 | getValue |

40
uidoc/detailed/combo/select_tree_combo.md

@ -1,2 +1,40 @@
# select_tree_combo
# bi.select_tree_combo
### 二级可选节点下拉框树
{% method %}
[source](https://jsfiddle.net/fineui/Lgqr17tg/)
{% common %}
```javascript
var tree = BI.createWidget({
type: "bi.select_tree_combo",
element: 'body',
items: [],
text: "默认值",
width: 300,
});
```
{% endmethod %}
### 参数设置
| 参数 | 说明 | 类型 | 默认值 |
| ------- | ---- | ------ | ---- |
| height | 高度 | number | 30 |
| text | 文本框值 | string | '' |
| items | 元素 | array | null |
### 方法
| 方法名 | 说明 | 回调参数 |
| -------- | ---- | ----------- |
| populate | 刷新内容 | items: 子项数组 |
| setValue | 设置值 | setValue |
| getValue | 获取值 | getValue |

41
uidoc/detailed/combo/single_tree_combo.md

@ -1,2 +1,41 @@
# single_tree_combo
# bi.single_tree_combo
### 二级树下拉框
{% method %}
[source](https://jsfiddle.net/fineui/oxkb9uw5/)
{% common %}
```javascript
var tree = BI.createWidget({
type: "bi.simple_tree_combo",
element: 'body',
items: [],
text: "默认值",
width: 300,
});
```
{% endmethod %}
### 参数设置
| 参数 | 说明 | 类型 | 默认值 |
| ------- | ---- | ------ | ---- |
| trigger | | object | {} |
| height | 高度 | number | 30 |
| text | 文本框值 | string | '' |
| items | 元素 | array | null |
### 方法
| 方法名 | 说明 | 回调参数 |
| -------- | ---- | ----------- |
| populate | 刷新内容 | items: 子项数组 |
| setValue | 设置值 | setValue |
| getValue | 获取值 | getValue |

Loading…
Cancel
Save