[이벤트]
touchstart
touchend
touchmove
touchcancel
[프로퍼티]
touches : 복수로 화면에 터치되는 각 손가락들에 대한 터치 이벤트 모음들. 이 객체들은 페이지에 터치되는 좌표의 값을 가지고 있음.
targetTouches : 전체페이지가 아닌 타깃 요소만
[예제]
window.addEventListener(‘load’,function(){
var b = document.getElementById(‘layer1′);
b.addEventListener(‘touchmove’,function(event){
alert(‘mousemove’);
},false);
Leave a Reply