Lakshmi Prasanna
Posts: 0
Joined: Thu Jul 24, 2014 2:26 pm

Delete option on listitem swipeleft

The following is the code i written to trigger swipeleft event, but it is not triggering in mobile

Code: Select all

 $("body").on("swipeleft", "div[data-role='content'] li.ticket", function(e) { 

     alert("swipe"); 

     $(this).closest("div[data-role='content']").find(".cdm-enable-delete").removeClass("cdm-enable-delete"); 

     $(this).toggleClass("cdm-enable-delete"); 

 }); 

i will get the list item dynamically so i am triggering the event like this

please suggest some solution to get it.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Delete option on listitem swipeleft

Hello Lakshmi,

Could you please clarify, does it work correctly in browser?

Lakshmi Prasanna
Posts: 0
Joined: Thu Jul 24, 2014 2:26 pm

Delete option on listitem swipeleft

Yes it is working in browser.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Delete option on listitem swipeleft

Hello!

On "is not triggering in mobile" you mean something doesn't work in hybrid (apk/ipa) app, Appery.io mobile tester or mobile browser?

What device you use for testing?
What is your browser?

Lakshmi Prasanna
Posts: 0
Joined: Thu Jul 24, 2014 2:26 pm

Delete option on listitem swipeleft

its not working in hybrid apk app and event is triggering some times in mobile browser.

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

Delete option on listitem swipeleft

Hello!

Please specify the model of your device and it's OS?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Delete option on listitem swipeleft

Hi Lakshmi,

Have you figured it out?

Lakshmi Prasanna
Posts: 0
Joined: Thu Jul 24, 2014 2:26 pm

Delete option on listitem swipeleft

Its not working on my mobile( Samsung Galaxy S III I9300, Android 4.0) properly but i have checked on other devices its working fine on them

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Delete option on listitem swipeleft

Thanks for update! Do you need support team help?

Return to “Issues”