Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1241

ZK Client Widget support swipe event for tablet/mobile device

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 6.5.0
    • 6.5.0
    • ZK Client Engine
    • tablet/mobile device

      Client Widget can support touch's swipe event on tablet/mobile device.

      For example,

      doSwipe_: function(evt) {
          var opts = evt.opts, dir = opts.dir;
          switch (dir) {
          case 'left': doSwipeLeft(); break;
          case 'right': doSwipeRight(); break;
          case 'up': doSwipeUp(); break;
          case 'down': doSwipeDown(); break;
          }
      }
      

            jumperchen jumperchen
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: