DOM events
onTouchStart
Observe initial finger contact without assuming that it is an activation. Keep native scrolling and use click for ordinary accessible actions.
Formal Syntax & Structure
react syntaxreact
onTouchStart={handler}Working Example
Example Snippetreact
export default function App(){return <button onTouchStart={e=>console.log(e.touches.length)} onClick={()=>console.log('Selected')}>Select item</button>}