This module exposes types and functions to deal with simple single touch interactions.
A single touch event handler.
import Touch as T
import SingleTouch as ST
type Msg
= TouchMsg T.TouchEvent T.Touch
view model =
H.div [ ST.onSingleTouch T.TouchStart T.preventAndStop <| TouchMsg T.TouchStart ] []
A simple type alias for a single touch event.