touchstart(ontouchstart)イベント
touchstart(ontouchstart)イベントは、タッチベースのデバイスでエレメントに触れることで発生するイベントです。
Safari、Operaブラウザでは対応していません。
タッチイベントには下記のイベントがあります。
構文(Syntax)
in HTML
<tagelement ontouchstart="function()">
in JavaScript
object.ontouchstart = function(){ };
object.addEventListener("touchstart", script_);
備考(Remarks)
| |
Bubbles | Yes |
Cancelable | Yes |
Interface | TouchEvent |
Supported HTML Elements | ALL HTML elements |