PDA

View Full Version : PR3 and MouseEvents changes



squarefan
20 Jan 2012, 1:09 PM
Hi,

I am trying to find the mousevents equivalents in Touch 2 PR3. Previously in Touch 1.1 I could use a listener with mousedown for mobile devices (iPhone/iPad) to catch the input on a div element:


Ext.get("div-id").on('mousedown', function() {...

But this doesn't seem to work with Touch 2. I tried also click (which works fine in Chrome, but not on the iPad/iPhone) and tap.. but all a no go.

I think that should be quite a trivial problem.. hope somebody can help me!

cheers,
Alex

mitchellsimoens
23 Jan 2012, 7:41 AM
have you tried the touch events? touchstart, touch, touchend...