Skip to main content
Version: 2.x

NativeViewGestureHandler

danger

The old API will be removed in the future version of Gesture Handler. Please migrate to gestures API instead. Check out our upgrading guide for more information.

A gesture handler that allows other touch handling components to participate in RNGH's gesture system.

Used by createNativeWrapper().

Properties

See set of properties inherited from base handler class. Below is a list of properties specific to NativeViewGestureHandler component:

shouldActivateOnStart (Android only)

When true, underlying handler will activate unconditionally when in BEGAN or UNDETERMINED state.

disallowInterruption

When true, cancels all other gesture handlers when this NativeViewGestureHandler receives an ACTIVE state event.