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

ZK Client Widget support swipe event for tablet/mobile device

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.5.0
    • Component/s: ZK Client Engine
    • Labels:
    • Environment:

      tablet/mobile device

      Description

      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;
          }
      }
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: