Results 1 to 6 of 6

Thread: tap & double tap

  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    37
    Vote Rating
    1
      0  

    Default Answered: tap & double tap

    In ST 1.1 double tapping triggers double tap event but in ST2.0 it triggers both, tap & double tap events...

  2. Quote Originally Posted by vnurin View Post
    but there isn't singletap event
    On the Element there is http://docs.sencha.com/touch/2-0/#!/...vent-singletap

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Answers
    3885
    Vote Rating
    1296
      0  

    Default

    Good to know. I'm guessing the nest thing you would like to do is ask how to stop the tap event when you doubletap? Simple answer, you can't really.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    37
    Vote Rating
    1
      0  

    Default

    is that mean it is impossible to assign tap & doubletap events simultaneously?

  5. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    19
      0  

    Default

    If you want to distingush a doubletap event you have to couple it with singletap, not tap...tap has no delay when it fires, so it cannot be stopped from firing. singletap has a delay so it can be stopped.

    Sencha Inc

    Jamie Avins

    @jamieavins

  6. #5
    Sencha User
    Join Date
    Jul 2011
    Posts
    37
    Vote Rating
    1
      0  

    Default

    but there isn't singletap event

  7. #6
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Answers
    3885
    Vote Rating
    1296
      0  

    Default

    Quote Originally Posted by vnurin View Post
    but there isn't singletap event
    On the Element there is http://docs.sencha.com/touch/2-0/#!/...vent-singletap
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •