Commit 6091adc7 authored by custom's avatar custom

Updates 前端组件/hlsCombobox.md

Auto commit by GitBook Editor
parent fb1d04ae
......@@ -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
<h: hlsCombobox id="hlsCombobox" dataSource="dataSource" clearButton="true" placeholder="test" enable="false" template="fn:itemTemplate" change="onComboboxChange"/>
```
......@@ -159,5 +140,3 @@ function valueMapper(){
</h: hlsCombobox >
```
......@@ -30,21 +30,6 @@
### **用法示例**
```javascript
//注意是写在script标签内的
var viewModel = kendo.observable({
data:{}
});
function open(){
//...
}
function footer(){
//...
}
```
```xml
<h:hlsDatePicker id="hlsDatePicker"
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