Class: GestureHandlerGroup

GestureHandlerGroup

new GestureHandlerGroup(options) → {GestureHandlerGroup}

Manages a group of GestureHandlers. When some types of gesture events are emitted by any GestureHandler in the group, the event will be applied to all over GestureHandlers in the group. E.g. if you pan or swipe one element 10 pixels to the left, all the other gesture handlers in the group will also be instructed to pan 10 pixels to the left.
Parameters:
Name Type Argument Description
options Object <nullable>
options
Source:
Returns:
Type
GestureHandlerGroup

Methods

getElementRects() → {Object[]}

Gets the bounding client rects for all the elements in this GestureHandlerGroup
Source:
Returns:
Type
Object[]

getElements() → {Element[]}

Gets all of the elements managed by this GestureHandlerGroup
Source:
Returns:
Type
Element[]

updateBounds() → {undefined}

Updates the bounds for all the GestureHandlers in the GestureHandlerGroup.
Source:
Returns:
Type
undefined