Results 1 to 4 of 4

Thread: Reduce delay of itemsingletap on xtype:list

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    15
    Vote Rating
    0
      0  

    Default Answered: Reduce delay of itemsingletap on xtype:list

    Hi

    Is there a way to reduce the delay when pressing on a listitem on a list?
    This will fire the event: itemsingletap
    The problem is, that if the user clicks more than one time, it will fire the event more than once and its a little annoying to wait when i pressed.

    Thx in advance

    Chears neutron

  2. Currently it waits 300ms. YOu can change this with the maxDuration config of the Ext.event.recognizer.DoubleTap class. This is configurable from Ext.application: http://docs.sencha.com/touch/2-0/#!/...od-application Look at the eventPublishers example in Ext.application.

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

    Default

    Currently it waits 300ms. YOu can change this with the maxDuration config of the Ext.event.recognizer.DoubleTap class. This is configurable from Ext.application: http://docs.sencha.com/touch/2-0/#!/...od-application Look at the eventPublishers example in Ext.application.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  4. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    15
    Vote Rating
    0
      0  

    Default

    Thx, I will give it a try

  5. #4
    Sencha User mcelotti's Avatar
    Join Date
    Nov 2013
    Posts
    77
    Answers
    1
    Vote Rating
    9
      0  

    Default

    a quite complete list of recognizers config should be (just my 2 cents):
    Code:
    eventPublishers : {
            touchGesture : {
                recognizers : {
                    tap : null,
                    doubleTap : null,
                    drag : null,
                    edgeSwipe : null,
                    longPress : null,
                    pinch : null,
                    rotate : null,
                    swipe : null
                }
            }
        }
        }

Tags for this Thread

Posting Permissions

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