Interface ISwipeCallbacksMap

Maps event types to their callback parameter types.

interface ISwipeCallbacksMap {
    abort: undefined;
    destroy: undefined;
    end: ISwipeCoords;
    inertia: undefined;
    inertiaEnd: undefined;
    inertiaStart: undefined;
    mousemove: MouseEvent;
    move: ISwipeCoords;
    preventEdgeSwipe: undefined;
    props: undefined;
    start: ISwipeCoords;
    toBottom: undefined;
    toLeft: undefined;
    toRight: undefined;
    toTop: undefined;
    touchmove: TouchEvent;
    touchstart: TouchEvent;
}

Hierarchy (View Summary)

Properties

abort: undefined

Triggered when swipe is aborted.

destroy: undefined

Triggered when the module is destroyed.

Swipe end event.

inertia: undefined

Triggered on inertia progress.

inertiaEnd: undefined

Triggered on inertia end.

inertiaStart: undefined

Triggered on inertia start.

mousemove: MouseEvent

Triggered on mousemove listener. Triggered before any action related to this event is processed.

Swipe move event.

preventEdgeSwipe: undefined

Triggered on edge swipe preventing.

props: undefined

Triggered when the module's properties are updated.

Swipe start event.

toBottom: undefined

Swipe from top to bottom.

toLeft: undefined

Swipe from right to left.

toRight: undefined

Swipe from left to right.

toTop: undefined

Swipe from bottom to top.

touchmove: TouchEvent

Triggered on touchmove listener. Triggered before any action related to this event is processed.

touchstart: TouchEvent

Triggered on touchstart listener. Triggered before any action related to this event is processed.