Commit f3d7c59f authored by custom's avatar custom

Updates 前端组件/hlsCombobox.md

Auto commit by GitBook Editor
parent e645d588
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
hlsCombobox 下拉列表组件 hlsCombobox 下拉列表组件
```xml ```xml
<h: hlsCombobox placeholder="combobox" <h: hlsCombobox placeholder="hlsCombobox"
valuePrimitive="true" valuePrimitive="true"
dataTextField="text" dataTextField="text"
dataValueField="value" dataValueField="value"
...@@ -77,7 +77,7 @@ function onComboboxChange(e){ ...@@ -77,7 +77,7 @@ function onComboboxChange(e){
``` ```
```xml ```xml
<h: hlsCombobox id="combobox" 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"/>
``` ```
> **提示:** 某些属性类型为**String \| Function** 时,表明它可以定义为字符串或者函数。因此当需要定义为Function时需要增加前缀**fn:**来区分\(例如函数template="fn:itemTemplate" \) > **提示:** 某些属性类型为**String \| Function** 时,表明它可以定义为字符串或者函数。因此当需要定义为Function时需要增加前缀**fn:**来区分\(例如函数template="fn:itemTemplate" \)
......
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