mpizenberg/elm-touch-events/3.0.1

NOTE: this package is not compatible with Elm 0.19.1

MultiTouch

This module exposes functions to deal with multitouch interactions.

onStart : (Event -> msg) -> Attribute msg

Triggered on a "touchstart" event.

onMove : (Event -> msg) -> Attribute msg

Triggered on a "touchmove" event.

onEnd : (Event -> msg) -> Attribute msg

Triggered on a "touchend" event.

onCancel : (Event -> msg) -> Attribute msg

Triggered on a "touchcancel" event.