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
f3d7c59f
Commit
f3d7c59f
authored
Jul 25, 2017
by
custom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 前端组件/hlsCombobox.md
Auto commit by GitBook Editor
parent
e645d588
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
hlsCombobox.md
前端组件/hlsCombobox.md
+2
-2
No files found.
前端组件/hlsCombobox.md
View file @
f3d7c59f
...
...
@@ -3,7 +3,7 @@
hlsCombobox 下拉列表组件
```
xml
<h:
hlsCombobox
placeholder=
"
c
ombobox"
<h:
hlsCombobox
placeholder=
"
hlsC
ombobox"
valuePrimitive=
"true"
dataTextField=
"text"
dataValueField=
"value"
...
...
@@ -77,7 +77,7 @@ function onComboboxChange(e){
```
```
xml
<h:
hlsCombobox
id=
"
c
ombobox"
dataSource=
"dataSource"
clearButton=
"true"
placeholder=
"test"
enable=
"false"
template=
"fn:itemTemplate"
change=
"onComboboxChange"
/>
<h:
hlsCombobox
id=
"
hlsC
ombobox"
dataSource=
"dataSource"
clearButton=
"true"
placeholder=
"test"
enable=
"false"
template=
"fn:itemTemplate"
change=
"onComboboxChange"
/>
```
> **提示:** 某些属性类型为**String \| Function** 时,表明它可以定义为字符串或者函数。因此当需要定义为Function时需要增加前缀**fn:**来区分\(例如函数template="fn:itemTemplate" \)
...
...
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