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
67554f10
Commit
67554f10
authored
Jul 28, 2017
by
custom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 前端组件/hlsTlEdit.md
Auto commit by GitBook Editor
parent
1b1db8ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
hlsTlEdit.md
前端组件/hlsTlEdit.md
+39
-0
No files found.
前端组件/hlsTlEdit.md
0 → 100644
View file @
67554f10
## TlEdit
多语言编辑
##### xml配置
```
xml
<!--h:为命名空间,必须要加的;hlsTlEdit为组件名;id可写可不写-->
<h:hlsTlEdit
id=
"hlsTlEdit"
/>
```
#### **一般属性**
| 属性名 | 类型 |
| --- | --- |
| idField | String |
| field | String |
| dto | String |
| model | Function |
| open | Function |
| close | Function |
| placeholder | String |
| bind | Function |
用法示例:
```
javascript
```
```
xml
<h:hlsTlEdit
id=
"tl"
placeholder=
"多语言"
bind=
"value:data.name"
idField=
"id"
field=
"name"
dto=
"com.hand.hap.function.dto.Resource"
model=
"viewModel.data"
>
</h:hlsTlEdit>
```
> **提示:**
>
> * 以上所有属性都直接可以添加到tlEdit标签上,用法皆为\[**属性名**\]="\[**属性值**\]"
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