Skip to content

Commit 49c249c

Browse files
authored
fix(gestures.md): internal links (#107)
1 parent 3d5952d commit 49c249c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

content/guide/gestures.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ title: Gestures
77

88
Users can interact with UI components using gestures. NativeScript supports the following gestures:
99

10-
- [tap](#tap-gesture-in-nativescript)
11-
- [doubleTap](#double-tap-event-data)
12-
- [longPress](#long-press-gesture-in-nativescript)
13-
- [swipe](#swipe-gesture-in-nativescript)
14-
- [pan](#pan-gesture-in-nativescript)
15-
- [pinch](#pinch-gesture-in-nativescript)
16-
- [rotation](#rotate-gesture-in-nativescript)
17-
- [touch](#touch-gesture-in-nativescript)
10+
- [tap](#tap-gesture)
11+
- [doubleTap](#double-tap-gesture)
12+
- [longPress](#long-press-gesture)
13+
- [swipe](#swipe-gesture)
14+
- [pan](#pan-gesture)
15+
- [pinch](#pinch-gesture)
16+
- [rotation](#rotate-gesture)
17+
- [touch](#touch-gesture)
1818

1919
All gesture events, except `tap`, have the following data in common:
2020

@@ -27,7 +27,7 @@ All gesture events, except `tap`, have the following data in common:
2727
| `ios` | `UIGestureRecognizer ` | Gets the underlying native iOS specific [UIGestureRecognizer](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIGestureRecognizer_Class/). |
2828
| `android` | `android.view.GestureDetector` | Gets the underlying native android specific [gesture detector](http://developer.android.com/reference/android/view/GestureDetector.html) |
2929

30-
## Tap gesture
30+
## Tap gesture {#tap-gesture}
3131

3232
**Action**: Briefly touching a component.
3333

@@ -68,7 +68,7 @@ onTap(args: EventData) {
6868
```
6969
/// -->
7070

71-
## Double tap gesture
71+
## Double tap gesture {#double-tap-gesture}
7272

7373
**Action**: Two taps on a component in quick succession.
7474

@@ -109,7 +109,7 @@ onDoubleTap(args: GestureEventData) {
109109
///
110110
-->
111111

112-
## Long press gesture
112+
## Long press gesture {#long-press-gesture}
113113

114114
**Action**: A component is pressed for a few moments.
115115

@@ -150,7 +150,7 @@ onLongPress(args: GestureEventDataWithState) {
150150
///
151151
-->
152152

153-
## Swipe gesture
153+
## Swipe gesture {#swipe-gesture}
154154

155155
**Action**: Swiftly sliding a finger across the screen. Swipes are quick and affect the screen even after the finger is lifted off the screen:
156156

@@ -198,7 +198,7 @@ Available directions:
198198
- `up = 4`,
199199
- `down = 8`,
200200

201-
## Pan gesture
201+
## Pan gesture {#pan-gesture}
202202

203203
**Action**: A pan gesture occurs when a user presses down on a component and immediately starts moving it around. Pans are executed more slowly and allow for more precision. The event stops emitting as soon as the finger is lifted off it.
204204

@@ -246,7 +246,7 @@ onPan(args: PanGestureEventData) {
246246
///
247247
-->
248248

249-
## Pinch gesture
249+
## Pinch gesture {#pinch-gesture}
250250

251251
**Action**: A user touches a component with two fingers, then moves them towards or away from each other.
252252

@@ -293,7 +293,7 @@ onPinch(args: PinchGestureEventData) {
293293

294294
Possible usage: Zoom in or out of content.
295295

296-
## Rotate gesture
296+
## Rotate gesture {#rotate-gesture}
297297

298298
**Action**: A user touches a component with two fingers, then rotates them simultaneously left or right.
299299

@@ -333,7 +333,7 @@ onRotate(args: RotationGestureEventData) {
333333
334334
/// -->
335335

336-
## Touch gesture
336+
## Touch gesture {#touch-gesture}
337337

338338
This is a general purpose gesture that is triggered whenever a pointer (usually a finger) has performed a touch action (up, down, move or cancel).
339339

0 commit comments

Comments
 (0)