Hi Telerik-Team
I have a very strange issue:
According to your documentation, it's not possible to use the kendo.mobile.min directly with requireJS, which kind of makes sense (and I don't really care because including full featured libs with TypeScript + AMD is a pain anyway).
So what I do is simply load the file normally through the script-tag.
I then can initialize the App from within my modules, use the data- paramters to define behaviours, etc..
Everything works like a charm.
My current view features a lot of widgets, like buttons and scrollview which is kind of my "proove".
But here is the strange thing: when I use requireJS, Touch seams to be the only thing which is not working:
No matter if I declare them with the data-attribute, or through $(element).kendoTouch.
Now, according to your documentation, the "namespace" of the Touch-Widget is kendo.ui.Touch.
That object exists. And I can initialize my touch-behaviour with a new instance of it and that works without any problem.
As soon as I remove requireJS, I can use the touch-widget normally again.
I'm really wondering what could break the Touch-Widget, and as far as I can tell, only the Touch-Widget...
Thanks!
I have a very strange issue:
According to your documentation, it's not possible to use the kendo.mobile.min directly with requireJS, which kind of makes sense (and I don't really care because including full featured libs with TypeScript + AMD is a pain anyway).
So what I do is simply load the file normally through the script-tag.
I then can initialize the App from within my modules, use the data- paramters to define behaviours, etc..
Everything works like a charm.
My current view features a lot of widgets, like buttons and scrollview which is kind of my "proove".
But here is the strange thing: when I use requireJS, Touch seams to be the only thing which is not working:
No matter if I declare them with the data-attribute, or through $(element).kendoTouch.
Now, according to your documentation, the "namespace" of the Touch-Widget is kendo.ui.Touch.
That object exists. And I can initialize my touch-behaviour with a new instance of it and that works without any problem.
As soon as I remove requireJS, I can use the touch-widget normally again.
I'm really wondering what could break the Touch-Widget, and as far as I can tell, only the Touch-Widget...
Thanks!