From 153632247d1793032359e99a7f358e4764ac30dd Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 4 Sep 2017 19:33:36 +0800 Subject: [PATCH] unfinish list --- uidoc/case/list/list.select.md | 36 +++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/uidoc/case/list/list.select.md b/uidoc/case/list/list.select.md index 2a58497ae..de524019e 100644 --- a/uidoc/case/list/list.select.md +++ b/uidoc/case/list/list.select.md @@ -1,2 +1,36 @@ -# select_list +# bi.select_list +### 选择列表 + +{% method %} +[source](https://jsfiddle.net/fineui/c3azpxss/) + +{% common %} +```javascript + +BI.createWidget({ + type: "bi.editor_trigger", + element: "body", +}); + +``` + +{% endmethod %} + +### 参数 + +| 参数 | 说明 | 类型 | 默认值 | +| ----------------- | ------- | -------- | ---------- | +| validationChecker | 验证函数 | function | BI.emptyFn | +| quitChecker | 退出时验证函数 | function | BI.emptyFn | +| allowBlank | 是否允许为空 | bool | false | +| watermark | 水印 | string | "" | +| errorText | 错误信息 | string | "" | +| triggerWidth | 触发器宽度 | number | 30 | + +### 方法 + +| 方法名 | 说明 | 参数 | +| -------- | ---- | ----- | +| setValue | 设置值 | value | +| getVlaue | 获得值 | — |