Commit 6091adc7 authored by custom's avatar custom

Updates 前端组件/hlsCombobox.md

Auto commit by GitBook Editor
parent fb1d04ae
...@@ -57,25 +57,6 @@ hlsCombobox 下拉列表组件 ...@@ -57,25 +57,6 @@ hlsCombobox 下拉列表组件
### **用法示例** ### **用法示例**
```javascript
//定义数据源DataSource
var dataSource= new kendo.data.DataSource({
data:["one","two"]
});
//下拉列表渲染函数
var itemTemplate = function (){
//...
}
//选中某一个列表选项后触发
function onComboboxChange(e){
var value = this.value();
// Use the value of the widget.
}
//以上两种函数定义方法皆可
```
```xml ```xml
<h: hlsCombobox id="hlsCombobox" dataSource="dataSource" clearButton="true" placeholder="test" enable="false" template="fn:itemTemplate" change="onComboboxChange"/> <h: hlsCombobox id="hlsCombobox" dataSource="dataSource" clearButton="true" placeholder="test" enable="false" template="fn:itemTemplate" change="onComboboxChange"/>
``` ```
...@@ -159,5 +140,3 @@ function valueMapper(){ ...@@ -159,5 +140,3 @@ function valueMapper(){
</h: hlsCombobox > </h: hlsCombobox >
``` ```
...@@ -30,21 +30,6 @@ ...@@ -30,21 +30,6 @@
### **用法示例** ### **用法示例**
```javascript
//注意是写在script标签内的
var viewModel = kendo.observable({
data:{}
});
function open(){
//...
}
function footer(){
//...
}
```
```xml ```xml
<h:hlsDatePicker id="hlsDatePicker" <h:hlsDatePicker id="hlsDatePicker"
max="2016-10-14" max="2016-10-14"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment