使用子 html 模板构建页面 - Telerik Icenium 移动应用程序 (Cordova)
build a page with sub-html-templates - Telerik Icenium Mobile App (Cordova)
在 Telerik Icenium 移动应用程序中,我能否像使用 Angular 那样使用子 html 模板构建页面,但使用标准 javascript 和 html .
例如。
我有一个
---- index.html and would like to include in it both
----- navigator.html
----- mainView.html
如何在 Cordova 应用程序中执行操作?
更新
我在这里找到这篇文章:http://docs.telerik.com/kendo-ui/framework/templates/load-remote#asynchronous-template-loading
但现在它可以在我的本地模拟器上运行,但在我的 Android 和 Web 模拟器(通常最接近模拟实际 phone 体验)上却不行。见下文
看看这个博客 post,其中介绍了如何使用 Kendo UI 远程视图(我认为这实际上是您所需要的):http://www.telerik.com/blogs/kendo-ui-mobile-remote-views-and-separate-html-files
在 Telerik Icenium 移动应用程序中,我能否像使用 Angular 那样使用子 html 模板构建页面,但使用标准 javascript 和 html .
例如。
我有一个
---- index.html and would like to include in it both
----- navigator.html
----- mainView.html
如何在 Cordova 应用程序中执行操作?
更新
我在这里找到这篇文章:http://docs.telerik.com/kendo-ui/framework/templates/load-remote#asynchronous-template-loading
但现在它可以在我的本地模拟器上运行,但在我的 Android 和 Web 模拟器(通常最接近模拟实际 phone 体验)上却不行。见下文
看看这个博客 post,其中介绍了如何使用 Kendo UI 远程视图(我认为这实际上是您所需要的):http://www.telerik.com/blogs/kendo-ui-mobile-remote-views-and-separate-html-files