Results 1 to 2 of 2

Thread: PR3 and MouseEvents changes

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2008
    Posts
    209
    Vote Rating
    4
      0  

    Default PR3 and MouseEvents changes

    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:

    Code:
    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

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

    Default

    have you tried the touch events? touchstart, touch, touchend...
    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

Posting Permissions

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