Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
echo
2016-02-18 14:23:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
518e7bdaaf8465d8f8364182571eb2403d2c4769
518e7bda
1 parent
c7ab98cb
Created 远程教学之页面动作消息 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
远程教学之页面动作消息.md
远程教学之页面动作消息.md
0 → 100644
View file @
518e7bd
通用的基本动作定义
*
按钮点击(command:clickButton)
*
单击控件(command:singleTap)
*
双击控件(command:doubleTap)
*
分段控件的点击(command:clickSegmentedControl)
*
分页ScrollView的滚动(command:gotoSpecifiedScrollViewPage)
例子
```
type:templateAction
command:clickButton
controlId:WordExplanationTextSwitcher
index:2(保证页面内消息按顺序)
type:templateAction
command:clickSegmentedControl
controlId:WordCompareSegmentedControl
parameter:1(在这里是分段的索引)
index:2(保证页面内消息按顺序)
type:templateAction
command:gotoSpecifiedScrollViewPage
controlId:LogicTreeScrellView
parameter:3(在这里是页码)
index:2(保证页面内消息按顺序)
```
多媒体播放器动作定义
*
播放(play)
*
暂停(pause)
*
停止(stop)
*
全屏(fullscreen)
*
小屏(smallscreen)
*
进度消息(progress)
```
type:templateAction
subType:playerAction
command:play
index:2
type:templateAction
subType:playerAction
command:progress
parameter:进度百分比(这个应该更通用)
index:2
```
...
...
Please
register
or
login
to post a comment