m (formatting) |
|||
Line 12: | Line 12: | ||
===Perform click=== | ===Perform click=== | ||
− | ;<code>[gn:act_performClick]|[target]</code> | + | :;<code>[gn:act_performClick]|[target]</code> |
− | {| class="wikitable sortable" style="font-size: 85%; text-align: left;" | + | :{| class="wikitable sortable" style="font-size: 85%; text-align: left;" |
|- | |- | ||
! scope="col" | Parameter | ! scope="col" | Parameter | ||
! scope="col" | Description | ! scope="col" | Description | ||
|- | |- | ||
− | | [[target]] | + | | <code>[[target]]</code> |
| [[target]] on which the click event will be fired | | [[target]] on which the click event will be fired | ||
* Valid [[target|targets]]: | * Valid [[target|targets]]: | ||
Line 27: | Line 27: | ||
====Example==== | ====Example==== | ||
− | <code>@+id/qr_code</code> - target | + | :<code>@+id/qr_code</code> - target<br> |
− | <code>[gn:act_performClick]|[@+id/qr_code]</code> | + | :; ⤷ <code>[gn:act_performClick]|[@+id/qr_code]</code> |
<hr> | <hr> |
Latest revision as of 15:07, 12 July 2017
gn:act_performClick
- Description
- Action used to perform a click action on targeted widget.
- The target widget must be clickable, otherwise nothing will happen
- Action returns
- void
Action signatures
Perform click
[gn:act_performClick]|[target]
Example
@+id/qr_code
- target
- ⤷
[gn:act_performClick]|[@+id/qr_code]
- ⤷