# Gesture Binding Methods You can use the following attributes to bind gesture recognition to a component. When a gesture is recognized, the event callback is invoked to notify the component.
gesture: GestureType, mask?: GestureMask |
gesture specifies the type of the gesture to bind, and mask specifies the event response setting. |
||
gesture: GestureType, mask?: GestureMask |
Gesture to preferentially recognize. gesture specifies the type of the gesture to bind, and mask specifies the event response setting. |
||
gesture: GestureType, mask?: GestureMask |
Gesture that can be triggered together with the child component gesture. gesture specifies the type of the gesture to bind, and mask specifies the event response setting. |
Tap gesture, which can be a single-tap or multi-tap gesture. |
|
A group of gestures. Continuous recognition, parallel recognition, and exclusive recognition are supported. |
onAction((event?: GestureEvent) => void) |