Page 1 of 1
Delete option on listitem swipeleft
Posted: Tue Aug 05, 2014 6:01 pm
by Lakshmi Prasanna
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.
Delete option on listitem swipeleft
Posted: Tue Aug 05, 2014 8:51 pm
by Evgene Karachevtsev
Hello Lakshmi,
Could you please clarify, does it work correctly in browser?
Delete option on listitem swipeleft
Posted: Wed Aug 06, 2014 4:36 am
by Lakshmi Prasanna
Yes it is working in browser.
Delete option on listitem swipeleft
Posted: Wed Aug 06, 2014 9:42 am
by Maryna Brodina
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?
Delete option on listitem swipeleft
Posted: Wed Aug 06, 2014 5:48 pm
by Lakshmi Prasanna
its not working in hybrid apk app and event is triggering some times in mobile browser.
Delete option on listitem swipeleft
Posted: Thu Aug 07, 2014 2:55 am
by obullei
Hello!
Please specify the model of your device and it's OS?
Delete option on listitem swipeleft
Posted: Tue Sep 16, 2014 12:38 pm
by Kateryna Grynko
Hi Lakshmi,
Have you figured it out?
Delete option on listitem swipeleft
Posted: Wed Sep 17, 2014 4:46 am
by Lakshmi Prasanna
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
Delete option on listitem swipeleft
Posted: Wed Sep 17, 2014 9:59 am
by Maryna Brodina
Thanks for update! Do you need support team help?