IBM Worklight - Page fragmentation

2019-03-05 02:07发布

I am trying to migrate existing phonegap project into worklight. Phonegap app is using $.mobile.changePage() for page navigation. Will this function reload the existing DOM or creates a new DOM. As worklight suggest to use single DOM object, if I use $.mobile.changePage() will it have any impact on worklight application behaviour.

1条回答
Bombasti
2楼-- · 2019-03-05 03:10

Please read the following IBM Worklight Getting Started training module: Building a multi-page app (sample project).


jQuery.mobile.changePage()
http://api.jquerymobile.com/jQuery.mobile.changePage/

.load()
http://api.jquery.com/load/

Please read the above documentation to understand the difference between changePage and load.

查看更多
登录 后发表回答