Showing
1 changed file
with
4 additions
and
4 deletions
| @@ -5,13 +5,13 @@ | @@ -5,13 +5,13 @@ | ||
| 5 | * 按钮点击(command:clickButton) | 5 | * 按钮点击(command:clickButton) |
| 6 | * 单击控件(command:tap) | 6 | * 单击控件(command:tap) |
| 7 | * 双击控件(command:doubleTap) | 7 | * 双击控件(command:doubleTap) |
| 8 | -* 分段控件的点击(command:clickSegmentedControl) | 8 | +* 分段控件的点击(command:clickSegmentedControl)需要参数:点击的索引 |
| 9 | -* 分页ScrollView的滚动(command:gotoSpecifiedScrollViewPage) | 9 | +* 分页ScrollView的滚动(command:gotoSpecifiedScrollViewPage)需要参数:目标页的索引 |
| 10 | 10 | ||
| 11 | 例子 | 11 | 例子 |
| 12 | ``` | 12 | ``` |
| 13 | { | 13 | { |
| 14 | -type:templateAction | 14 | +type:templateAction(模板动作) |
| 15 | command:clickButton | 15 | command:clickButton |
| 16 | controlId:WordExplanationTextSwitcher | 16 | controlId:WordExplanationTextSwitcher |
| 17 | index:2(保证页面内消息按顺序) | 17 | index:2(保证页面内消息按顺序) |
| @@ -19,7 +19,7 @@ index:2(保证页面内消息按顺序) | @@ -19,7 +19,7 @@ index:2(保证页面内消息按顺序) | ||
| 19 | 19 | ||
| 20 | { | 20 | { |
| 21 | type:templateAction | 21 | type:templateAction |
| 22 | -command:singleTap | 22 | +command:tap |
| 23 | controlId: WordExplanationImage1 | 23 | controlId: WordExplanationImage1 |
| 24 | index:2(保证页面内消息按顺序) | 24 | index:2(保证页面内消息按顺序) |
| 25 | } | 25 | } |
-
Please register or login to post a comment