1 | # event.<event-name>
|
2 |
|
3 | ```
|
4 | {DIV
|
5 | event.tap: onTap
|
6 | }
|
7 | ```
|
8 |
|
9 | The following event names are actually gesture names:
|
10 | * __tap__: Touch and release quickly without moving.
|
11 | * __press__: Touch without moving but don't release before 250ms.
|
12 | * __pan__: Touch and move around before releasing.
|
13 | * __swipe__: Fast pan.
|
14 | * __swiperight__: Swipe to the right.
|
15 | * __swipeleft__: Swipe to the left.
|
16 | * __swipetop__: Swipe to the top.
|
17 | * __swipebottom__: Swipe to the bottom.
|
18 |
|
19 |
|
20 |
|
21 | ----
|
22 |
|
23 | [Back](xjs.view.md)
|