Browse Source

Merge pull request #126 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit '97e8c4d0b1273159777b32204bdc7efe596aa5df':
  bundle.min
es6
windy 7 years ago
parent
commit
611ab99a38
  1. 2
      dist/bundle.min.js
  2. 6
      uidoc/detailed/down_list_combo.md
  3. 5
      uidoc/detailed/month_combo.md
  4. 5
      uidoc/detailed/multi_select_combo.md
  5. 7
      uidoc/detailed/numeric_interval.md
  6. 4
      uidoc/detailed/quarter_combo.md
  7. 33
      uidoc/detailed/tree/bi.multi_tree_combo.md
  8. 4
      uidoc/detailed/year_combo.md

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

6
uidoc/detailed/down_list_combo.md

@ -67,4 +67,10 @@ BI.createWidget({
--- ---
##事件
| 事件 | 说明 |
|BI.DownListCombo.EVENT_CHANGE| 点击一级节点触发 |
|BI.DownListCombo.EVENT_SON_VALUE_CHANGE| 点击二级节点触发 |
|BI.DownListCombo.EVENT_BEFORE_POPUPVIEW| 下拉列表弹出前触发 |
##具体配置方法见[Combo](../core/combination/bi.combo.md)

5
uidoc/detailed/month_combo.md

@ -24,3 +24,8 @@ BI.createWidget({
--- ---
##事件
| 事件 | 说明 |
|BI.MonthCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
|BI.MonthCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |

5
uidoc/detailed/multi_select_combo.md

@ -29,4 +29,7 @@ BI.createWidget({
## 方法
| 方法 | 说明 | 用法 |
| ---------------------------- | ---------------- | ------------------------------------ | |
| ---------------------------- | ---------------- | ------------------------------------ | |
| 事件 | 说明 |
|BI.MultiSelectCombo.EVENT_CONFIRM| 点击确定触发 |

7
uidoc/detailed/numeric_interval.md

@ -33,4 +33,9 @@ BI.createWidget({
| setCloseMinEnable(boolean) | 设置左区间开闭combo的disable状态 | |
| setMaxEnable(boolean) | 设置右区间输入框disable状态 | |
| setCloseMaxEnable(boolean) | 设置右区间开闭combo的disable状态 | |
| setNumTip(string) | 设置数值区间的tip提示 | |
| setNumTip(string) | 设置数值区间的tip提示 | |
##事件
| 事件 | 说明 |
|BI.NumericalInterval.EVENT_VALID| 区间合法的状态事件 |
|BI.NumericalInterval.EVENT_ERROR| 区间不合法的状态事件 |

4
uidoc/detailed/quarter_combo.md

@ -26,5 +26,5 @@ BI.createWidget({
##事件
| 事件 | 说明 |
|BI.YearMonthCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
|BI.YearMonthCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |
|BI.QuarterCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
|BI.QuarterCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |

33
uidoc/detailed/tree/bi.multi_tree_combo.md

@ -25,29 +25,13 @@ var items = [{
}];
BI.createWidget({
type: "bi.horizontal_auto",
element: "body",
items: [{
type: "bi.multi_tree_combo",
ref: function (_ref) {
self.tree = _ref;
},
itemsCreator: function (options, callback) {
console.log(options);
callback({
items: items
});
},
width: 300
}, {
type: "bi.button",
text: "getVlaue",
handler: function () {
BI.Msg.toast(JSON.stringify(self.tree.getValue()));
},
width: 300
}]
type: "bi.multi_tree_combo",
itemsCreator: function (options, callback) {
callback({
items: items
});
},
width: 300
})
```
@ -68,3 +52,6 @@ BI.createWidget({
| getValue | 获取文本框值 | getValue() |
| populate | 更改树结构内容 | populate(items) |
##
BI.MultiTreeCombo.EVENT_CONFIRM

4
uidoc/detailed/year_combo.md

@ -28,6 +28,6 @@ BI.createWidget({
##事件
| 事件 | 说明 |
|BI.YearMonthCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
|BI.YearMonthCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |
|BI.YearCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
|BI.YearCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |

Loading…
Cancel
Save