Header menu logo Mibo

Touch Module

Touch input subscriptions for Elmish.

Functions and values

Function or value Description

listen handler ctx

Full Usage: listen handler ctx

Parameters:
Returns: Sub<'Msg>

Subscribes to all touch events.

handler : TouchPoint[] -> 'Msg
ctx : GameContext
Returns: Sub<'Msg>

Type something to start searching.