Browse Source

修改提交

es6
woodyjang 7 years ago
parent
commit
6a4d678f22
  1. 58
      uidoc/case/combo/text_value_combo.md
  2. 2
      uidoc/case/shelter_editor.md
  3. 5851
      uidoc/package-lock.json

58
uidoc/case/combo/text_value_combo.md

@ -0,0 +1,58 @@
# bi.text_value_combo
## 基类[BI.Widget](/core/widget.md)
{% method %}
[source](https://jsfiddle.net/fineui/hcf0kd9m/)
{% common %}
```javascript
BI.createWidget({
type: "bi.text_value_combo",
element: "#wrapper",
text: "value_combo",
width: 300,
items: [{
text: "1",
value: 1
}, {
text: "2",
value: 2
}, {
text: "3",
value: 3
}]
});
```
{% endmethod %}
## API
##### 基础属性
| 参数 | 说明 | 类型 | 可选值 | 默认值
| :------ |:------------- | :-----| :----|:----
| height | 高度 | number | — | 30
| el | 自定义下拉框trigger| object |—|{ } |
| text | 文本内容 | string | — | " " |
| chooseType | 选择类型 | const |参考button_group | BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
## 对外方法
| 名称 | 说明 | 回调参数
| :------ |:------------- | :-----
| setValue| 设置value值|—|
| getValue| 获取value值|—|
| populate | 刷新列表 | items |
---

2
uidoc/case/shelter_editor.md

@ -0,0 +1,2 @@
# clipboard

5851
uidoc/package-lock.json generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save