layout: "docs_api" version: "1.1.0" versionHref: "/docs" path: "api/directive/onTouch/"
title: "on-touch" header_sub_title: "Directive in module ionic" doc: "onTouch"
Called immediately when the user first begins a touch. This gesture does not wait for a touchend/mouseup.
<button on-touch="onTouch()" class="button">Test</button>