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
9645a5a1
Commit
9645a5a1
authored
Jul 27, 2017
by
lrd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update hlsDataSource.md by liangrending
parent
dd1a0a4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
hlsDataSource.md
前端组件/hlsDataSource.md
+9
-12
No files found.
前端组件/hlsDataSource.md
View file @
9645a5a1
...
@@ -2,22 +2,19 @@
...
@@ -2,22 +2,19 @@
数据源组件hlsDataSource
数据源组件hlsDataSource
*
```
```
<h:hlsDataSource id="hlsDataSource" autoQuery="true" successEnd="successEnd">
<h:hlsDataSource id="hlsDataSource" autoQuery="true" successEnd="successEnd">
<h:transport parameter="parameter">
<h:transport parameter="parameter">
<h:read url="" type="GET" />
<h:read url="" type="GET" />
</h:transport>
</h:transport>
</h:hlsDataSource>
</h:hlsDataSource>
```
```
|
**属性**
|
**参数**
|
**说明**
|
*
| -------- | -------- | -------- |
|
** 属性**
|
**参数**
|
**说明**
|
| id | 唯一英文标识 | 数据源唯一标志,返回数据源对象,包含查询返回的数据 |
| --- | --- | --- |
| autoQuery | true
\/
false | 自动查询标志,默认为true,true代表自动发送查询请求,false代表不发送查询请求 |
| id | 唯一英文标识 | 数据源唯一标志,返回数据源对象,包含查询返回的数据 |
| successEnd | function | 异步请求成功的回调函数,参数:data
\(
查询返回的数据
\)
|
| autoQuery | true
\/
false | 自动查询标志,默认为true,true代表自动发送查询请求,false代表不发送查询请求 |
| parameter | function | 函数返回一个对象,会自动封装到查询条件中 |
| successEnd | function | 异步请求成功的回调函数,参数:data
\(
查询返回的数据
\)
|
| url | 查询字符串 | 查询字符串,对应后台的数据接口 |
| parameter | function | 函数返回一个对象,会自动封装到查询条件中 |
| type | GET
\/
POST | 对应发送GET请求跟POST请求 |
| url | 查询字符串 | 查询字符串,对应后台的数据接口 |
| type | GET
\/
POST | 对应发送GET请求跟POST请求 |
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