Skip to content

Commit fe5e58d

Browse files
committed
Rearrange sidebar
1 parent 36a99f3 commit fe5e58d

File tree

23 files changed

+11
-13
lines changed

23 files changed

+11
-13
lines changed

docs/docs/components/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"label": "Components",
3-
"position": 3,
3+
"position": 4,
44
"link": {
55
"type": "generated-index"
66
}

docs/docs/fundamentals/gesture-composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: gesture-composition
33
title: Gesture composition & interactions
44
sidebar_label: Gesture composition & interactions
5-
sidebar_position: 4
5+
sidebar_position: 3
66
---
77

88
Composing gestures is much simpler in RNGH2, you don't need to create a ref for every gesture that depends on another one. Instead you can use `Race`, `Simultaneous` and `Exclusive` methods provided by the `Gesture` object.

docs/docs/fundamentals/states-events.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: states-events
33
title: Gesture states & events
44
sidebar_label: Gesture states & events
5-
sidebar_position: 6
5+
sidebar_position: 4
66
---
77

88
Every gesture can be treated as ["state machine"](https://en.wikipedia.org/wiki/Finite-state_machine).
@@ -87,7 +87,3 @@ Is called when pointers are lifted from the screen. It may carry information abo
8787
### `onPointerCancelled`
8888

8989
Is called when there will be no more information about this pointer. It may be called because the gesture has ended or was interrupted. It may carry information about more than one pointer because the events are batched.
90-
91-
### `onPointerChange`
92-
93-
Is called before `onPointerDown`, `onPointerMove`, `onPointerUp` and `onPointerCancelled` with the same event, which may be useful in case you share logic between them. It may carry information about more than one pointer because the events are batched.

docs/docs/gesture-handlers/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"label": "Gesture handlers (legacy)",
3-
"position": 4,
3+
"position": 6,
44
"link": {
55
"type": "generated-index"
66
}

docs/docs/gestures/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"label": "Gestures",
3-
"position": 2,
3+
"position": 3,
44
"link": {
55
"type": "generated-index"
66
}

docs/docs/guides/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"label": "Guides",
3-
"position": 5,
3+
"position": 2,
44
"link": {
55
"type": "generated-index"
66
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)