반응형
touchstart
$("#box").on('touchstart', function(e) {
console.log("touchstart");
});
터치 시작 할때 이벤트
touchend
$("#box").on('touchend', function(e) {
console.log("touchend");
});
터치 끝날 때 이벤트
bind 와 on 이벤트의 차이는 없지만
on을 권장한다고 한다.
반응형
'잡다한' 카테고리의 다른 글
[Ajax] Ajax란 (0) | 2021.05.15 |
---|---|
[jQery] addclass / removeclass (0) | 2021.03.16 |
[ajax, API] 카카오 개발자 API로 책 검색하기 2 (0) | 2021.03.11 |
[ajax, API] 카카오 개발자 API로 책 검색하기 1 (0) | 2021.03.11 |
[Eclipse] Mac에서 이클립스 콘솔 글자 크기 변경 (0) | 2021.03.10 |