Angular JS + Kendo UI 移动应用程序上的路由



我对AngularJS + Kendo UI Mobile很陌生。

我什至不确定它是否应该被称为Angular Kendo。

但是,在阅读各种来源时,我遇到了有关使用AngularJS和Kendo UI Mobile的应用程序的路由机制的相互矛盾的陈述。

http://docs.telerik.com/kendo-ui/AngularJS/introduction 说:

If you are using AngularJS then you probably want to use Angular's own routing mechanism and data binding. Do not mix that with Kendo MVVM.

然而,这里的例子 http://docs.telerik.com/kendo-ui/mobile/angular/angular 提到:

The mobile application instantiates and maintains its own routing mechanism based on the router component, which automatically matches and instantiates views when navigating. Unlike the ng-route/ng-view and the ui-router implementations, the mobile application does not unload the previous view when navigating to the new one.

那么,我该怎么办?哪种方式是最受欢迎的,为什么?

我产生了与您相同的冲突信息。基本上,Telerik 似乎首先在 14 年 4 月左右提出了一个解决方案,然后在 14 年 11 月左右修改了集成和结构化方法。

这里链接的Telerik资源应该对希望将AngularJS功能最佳集成到Kendo UI Mobile中的开发人员有所帮助,因为它是2014年Q3之后的版本:http://docs.telerik.com/kendo-ui/mobile/angular/sushi-angular-tutorial

最新更新