最終更新:2015-07-07 (火) 12:28:39 (3214d)
TouchEvent
Top / TouchEvent
http://www.w3.org/TR/touch-events/#touchevent-interface
interface TouchEvent : UIEvent
イベント
- touchstart - Sent when a finger for a given event touches the surface.
- touchmove - Sent when a given event moves on the surface.
- touchend? - Sent when a given event lifts from the surface.
- touchcancel? - Sent when the system cancels tracking for the touch.
インターフェイス
interface TouchEvent : UIEvent { readonly attribute TouchList touches; readonly attribute TouchList targetTouches; readonly attribute TouchList changedTouches; readonly attribute boolean altKey; readonly attribute boolean metaKey; readonly attribute boolean ctrlKey; readonly attribute boolean shiftKey; readonly attribute EventTarget relatedTarget; };
メンバ
型 メンバ イベントオブジェクト 説明 TouchList TouchEvent.touches? event.touches? 現在画面上にあるすべての指のリスト TouchList TouchEvent.targetTouches event.targetTouches 現在の DOM 要素上にある指のリスト TouchList TouchEvent.changedTouches? event.changedTouches? 現在のイベントに関与している指のリスト boolean TouchEvent.altKey? event.altKey? boolean TouchEvent.metaKey? event.metaKey? boolean TouchEvent.ctrlKey? event.ctrlKey? boolean TouchEvent.shiftKey? event.shiftKey? boolean TouchEvent.metaKey? event.metaKey? EventTarget TouchEvent.relatedTarget? event.relatedTarget?