wx.onTouchStart(function callback)
Listens on the event that a touch starts.
Parameters
function callback
The callback function for event that a touch starts.
Parameters
Object res
Property | Type | Description |
touches | Array.<Touch> | List of all current touch points |
changedTouches | Array.<Touch> | List of touch points that triggered this event |
timeStamp | number | Timestamp when the event is triggered |