No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Tags
    3. touch
    Log in to post
    • B

      swipe hold similar to left panel
      Help • touch • • boriscy

      5
      0
      Votes
      5
      Posts
      1507
      Views

      B

      Look at http://forum.quasar-framework.org/topic/758/v-touch-swipe-error I have added TouchHold directive, swipe only recognizes when a swipe was done but does not track the position in the example left panel changes the position when you hold the panel.

      <div v-touch-hold="method"></div>

      When I added this to my component I did not get any events when pressing and holding (mouse).

    • B

      v-touch-swipe error
      Help • directive swipe touch • • boriscy

      4
      1
      Votes
      4
      Posts
      2737
      Views

      B

      Found the answer, I just have to:

      import { TouchSwipe } from 'quasar' ... directives: { TouchSwipe } ...

      and now I can use

      <div v-touch-swipe="method"></div>