events.touch.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Lungo.Events.init({
  2. // 'tap section#touchevents': function() {
  3. // alert(1);
  4. // },
  5. // 'touch section#touchevents a[data-event=touch]': function() {
  6. // Lungo.Notification.show('Touch', 'Description', 'message', false, 2);
  7. // },
  8. 'tap section#touchevents [data-event=tap]': App.eventConsole,
  9. 'doubleTap section#touchevents [data-event=doubleTap]': App.eventConsole,
  10. 'hold section#touchevents [data-event=hold]': App.eventConsole,
  11. 'swipe section#touchevents [data-event=swipe]': App.eventConsole,
  12. 'swipeLeft section#touchevents [data-event=swipeLeft]': App.eventConsole,
  13. 'swipeUp section#touchevents [data-event=swipeUp]': App.eventConsole,
  14. 'swipeRight section#touchevents [data-event=swipeRight]': App.eventConsole,
  15. 'swipeDown section#touchevents [data-event=swipeDown]': App.eventConsole,
  16. 'swiping section#touchevents [data-event=swiping]': App.eventConsole,
  17. 'rotate section#touchevents [data-event=rotate]': App.eventConsole,
  18. 'rotateLeft section#touchevents [data-event=rotateLeft]': App.eventConsole,
  19. 'rotateRight section#touchevents [data-event=rotateRight]': App.eventConsole,
  20. 'rotating section#touchevents [data-event=rotating]': App.eventConsole,
  21. 'pinch section#touchevents [data-event=pinch]': App.eventConsole,
  22. 'pinchIn section#touchevents [data-event=pinchIn]': App.eventConsole,
  23. 'pinchOut section#touchevents [data-event=pinchOut]': App.eventConsole,
  24. 'pinching section#touchevents [data-event=pinching]': App.eventConsole,
  25. 'drag section#touchevents [data-event=drag]': App.eventConsole
  26. });