当前位置: 动力学知识库 > 问答 > 编程问答 >

build a page with sub-html-templates - Telerik Icenium Mobile App (Cordova)

问题描述:

In a Telerik Icenium Mobile App, can I build a page with sub-html-templates like I do with Angular but with standard javascript and html.

For example.

I have a

---- index.html and would like to include in it both

----- navigator.html

----- mainView.html

how can I do within a Cordova App?

Update

I found the article here: http://docs.telerik.com/kendo-ui/framework/templates/load-remote#asynchronous-template-loading

but now it is working on my local simulator but on my Android and Web Simulator (which is normally most closely mimics the actual phone experience) it is not. See below

网友答案:

Take a look at this blog post that covers using Kendo UI remote views (which is effectively what you need, I think): http://www.telerik.com/blogs/kendo-ui-mobile-remote-views-and-separate-html-files

分享给朋友:
您可能感兴趣的文章:
随机阅读: