I really love the switch instead of checkboxes, and now that I can use it on regular web I intend to just stop using checkboxes everywhere :)
...what's the minimum I need to include on the page to get it to work? Like I don't want to push down the entire mobile script.
Thanks,
Steve
3 Answers, 1 is accepted
0
Alexander Valchev
Telerik team
answered on 20 Mar 2014, 04:15 PM
Hi Steve,
You need to include the widget's script and all of its dependencies. Currently the documentation is not updated but we will do that in a short period of time.
Specifically for the switch you need:
In case you are already using a combined script such as kendo.web.js you need to include only kendo.mobile.switch.js. Core, fx and userevents are used by many widgets so you most probably already have them.
In addition to the javascript files you should include the corresponding .css files as described in this help topic.
Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
AWESOME, so just "kendo.mobile.switch.js" is all...
Hopefully I can extract just the CSS for that widget too
Anywho, question on maybe a bug with it...I reported it in the beta, but it's still here. Is this something that just exists in your demos, or happens on actual devices?