UI Features - Design

Gesture Handler

Information:

Gesture Handler is a feature that allows different touch signals to be applied to elements that don't have respond to that type of signal natively. There are four "gestures" available: TapHandler, DoubleTapHandler, PinchHandler, LongPressHandler.

Typical "Gesture Handler":

    Container {
        gestureHandlers: [
            TapHandler {
                onTapped: {
                    //do something when tapped
                }
            },
            DoubleTapHandler {
                onDoubleTapped: {
                    //do something when double tapped
                }
            },
            PinchHandler {
                //PinchHandler has 4 signals it can send
                onPinchStarted: {
                }
                onPinchUpdated: {
                }
                onPinchEnded: {
                }
                onPinchCancelled: {
                }
            },
            LongPressHandler {
                onLongPressed: {
                    //do something on long press
                }
            }
        ]
    }

Examples/Tutorials Using This Feature:

**Coming Soon**