Skip to content

Commit 0627280

Browse files
fixes
1 parent 8563529 commit 0627280

11 files changed

Lines changed: 1 addition & 20 deletions

File tree

packages/docs-gesture-handler/docs/fundamentals/animated-interactions.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ sidebar_label: Integration with Animated
55
sidebar_position: 9
66
---
77

8-
9-
108
Using hook API allows for smooth integration with the [Animated API](https://reactnative.dev/docs/animated) by allowing for passing an `Animated.event` as the argument to the [`onUpdate`](/docs/fundamentals/callbacks-events#onupdate) callback. The event mapping of `Animated.event` depends on the [`useNativeDriver`](https://reactnative.dev/docs/animated#using-the-native-driver) property.
119

1210
When using Animated API, remember to set `useAnimated` property to `true`.

packages/docs-gesture-handler/docs/fundamentals/callbacks-events.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ sidebar_position: 6
77

88
import { GestureEventFlowChart, TouchEventFlowChart } from '@site/src/examples/CallbacksFlowCharts'
99

10-
1110
At any given time, each handler instance has an assigned [state](/docs/under-the-hood/state) that can change when new touch events occur or can be forced to change by the touch system under certain circumstances. You can hook into state transitions using specific [gesture callbacks](#callbacks).
1211

1312
When Reanimated is installed, all callbacks are automatically workletized. For more details, refer to the [Integration with Reanimated](/docs/fundamentals/reanimated-interactions#automatic-workletization-of-gesture-callbacks) section.

packages/docs-gesture-handler/docs/fundamentals/gesture-composition.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ sidebar_label: Gesture composition & interactions
55
sidebar_position: 5
66
---
77

8-
9-
108
import Competing from '!!raw-loader!.//\_examples/hooks/Competing';
119
import Simultaneous from '!!raw-loader!.//\_examples/hooks/Simultaneous';
1210
import Exclusive from '!!raw-loader!.//\_examples/hooks/Exclusive';

packages/docs-gesture-handler/docs/fundamentals/gesture-detector.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ sidebar_label: Gesture detectors
55
sidebar_position: 4
66
---
77

8-
9-
108
## Gesture Detector
119

1210
The `GestureDetector` is a key component of `react-native-gesture-handler`. It supports gestures created either using the hook-based API or the builder pattern. Additionally, it allows for the recognition of multiple gestures through [gesture composition](/docs/fundamentals/gesture-composition). `GestureDetector` interacts closely with [`Reanimated`](https://docs.swmansion.com/react-native-reanimated/). For more details, refer to the [Integration with Reanimated](/docs/fundamentals/reanimated-interactions) section.

packages/docs-gesture-handler/docs/fundamentals/reanimated-interactions.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ sidebar_label: Integration with Reanimated
55
sidebar_position: 8
66
---
77

8-
9-
108
[`GestureDetector`](/docs/fundamentals/gesture-detectors) will decide whether to use [Reanimated](https://docs.swmansion.com/react-native-reanimated/) to process provided gestures based on their configuration. If any of the callbacks is a [worklet](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#worklet) and Reanimated is not explicitly [turned off](#disabling-reanimated), tools provided by the Reanimated will be utilized, bringing the ability to handle gestures synchronously on the main thread.
119

1210
## Automatic [workletization](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#to-workletize) of gesture callbacks

packages/docs-gesture-handler/docs/fundamentals/state-manager.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ sidebar_label: State manager
55
sidebar_position: 7
66
---
77

8-
9-
108
RNGH3 allows to manually control [gestures lifecycle](/docs/under-the-hood/state) by using [`GestureStateManager`](#gesturestatemanager).
119

1210
## State management

packages/docs-gesture-handler/docs/gestures/_shared/base-gesture-event-data.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
### numberOfPointers
42

53
```ts

packages/docs-gesture-handler/docs/gestures/use-long-press-gesture.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ import BaseGestureConfig from './\_shared/base-gesture-config.mdx';
3232
import BaseGestureCallbacks from './\_shared/base-gesture-callbacks.mdx';
3333
import SharedValueInfo from './\_shared/shared-value-info.md';
3434

35-
36-
3735
import LongPressExample from '!!raw-loader!./_examples/LongPressExample';
3836

3937
Gesture that activates when the corresponding view is pressed for a sufficiently long time.

packages/docs-gesture-handler/docs/gestures/use-rotation-gesture.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ import BaseGestureCallbacks from './\_shared/base-gesture-callbacks.mdx';
3232
import BaseContinuousGestureCallbacks from './\_shared/base-continuous-gesture-callbacks.mdx';
3333
import SharedValueInfo from './\_shared/shared-value-info.md';
3434

35-
36-
3735
import RotationExample from '!!raw-loader!./_examples/RotationExample';
3836

3937
Gesture that can recognize rotation and track its movement.

packages/docs-gesture-handler/docs/gestures/use-tap-gesture.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ import BaseGestureConfig from './\_shared/base-gesture-config.mdx';
3232
import BaseGestureCallbacks from './\_shared/base-gesture-callbacks.mdx';
3333
import SharedValueInfo from './\_shared/shared-value-info.md';
3434

35-
36-
3735
A discrete gesture that recognizes taps.
3836

3937
Tap gestures detect one or more fingers briefly touching the screen.

0 commit comments

Comments
 (0)