Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Spencer Chang
hel-developer-guide
Commits
6091adc7
Commit
6091adc7
authored
Jul 26, 2017
by
custom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 前端组件/hlsCombobox.md
Auto commit by GitBook Editor
parent
fb1d04ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
hlsCombobox.md
前端组件/hlsCombobox.md
+0
-21
hlsDatePicker.md
前端组件/hlsDatePicker.md
+0
-15
No files found.
前端组件/hlsCombobox.md
View file @
6091adc7
...
...
@@ -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 >
```
前端组件/hlsDatePicker.md
View file @
6091adc7
...
...
@@ -30,21 +30,6 @@
### **用法示例**
```
javascript
//注意是写在script标签内的
var
viewModel
=
kendo
.
observable
({
data
:{}
});
function
open
(){
//...
}
function
footer
(){
//...
}
```
```
xml
<h:hlsDatePicker
id=
"hlsDatePicker"
max=
"2016-10-14"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment