Skip to main content
Version: 2.x

NativeViewGestureHandler

danger

Consider using the new gestures API instead. The old API is not actively supported and is not receiving the new features. Check out RNGH 2.0 section in Introduction 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.