Hi,
I want to use the touch events on a Homepage (CMS Joomla) with some divs but I haven't found any information about to use them without a view. May you be able to give me a code sample how to use it without a view and (without?) Mobile Application Object?
( http://docs.telerik.com/kendo-ui/mobile/touch )
Best,
Can
I want to use the touch events on a Homepage (CMS Joomla) with some divs but I haven't found any information about to use them without a view. May you be able to give me a code sample how to use it without a view and (without?) Mobile Application Object?
( http://docs.telerik.com/kendo-ui/mobile/touch )
Best,
Can
4 Answers, 1 is accepted
0
Hello,
you don't need views or mobile apps to use the widget. This code example should work - remove the view element.
Regards,
Petyo
Telerik
you don't need views or mobile apps to use the widget. This code example should work - remove the view element.
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Can
Top achievements
Rank 1
answered on 26 Mar 2015, 09:11 AM
Thank you, but this leads to my question: I have call the "initTouch" function and that is missing removing the view (no data-init). I have read that it is not recommended to use the jQuery( document ).ready function to call functions there. So how I should call the function?
Best
Best
0
Can
Top achievements
Rank 1
answered on 26 Mar 2015, 09:13 AM
Thank you, but removing the view leads to not calling "initTouch" as there is no data-init any more. How should I call it? I have read there are some problems using jQuery .ready.
Best
Best
0
Hello,
I am not sure about the problems you refer to - most likely, they are the ones specific to the mobile app instance, which you don't use anyway. You may call the initTouch implementation at any point (including the document ready event).
Regards,
Petyo
Telerik
I am not sure about the problems you refer to - most likely, they are the ones specific to the mobile app instance, which you don't use anyway. You may call the initTouch implementation at any point (including the document ready event).
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!