PDA

View Full Version : touchmove event: how often is it triggered while moving?



gkatz
23 Dec 2012, 7:18 AM
hi; (using ST2.1 gpl)
I wanted to know how many touchmove events should I expect while touching and moving my finger on the screen. what isthe frequency this event is fired? is it different with different browsers (webkit,ie10)? is it configurable from the framework (for example configuring the touchmove event to fire every 10 pixels on the x axis).
thanks in advance

mitchellsimoens
26 Dec 2012, 8:07 AM
The Ext.event.publisher.TouchGesture has a moveThrottle config which seems like it may be how many pixels it has to be moved by but also a buffering config which has an enabled (false is default) and an interval which is number of milliseconds.