开发者

Restarting a Sencha Touch App

开发者 https://www.devze.com 2023-04-08 22:16 出处:网络
I\'m currently working with a Sencha Touch localized app, and all of the string values such as titles, labels and forms are generated on launch, meaning that if I want to switch the langu开发者_如何转

I'm currently working with a Sencha Touch localized app, and all of the string values such as titles, labels and forms are generated on launch, meaning that if I want to switch the langu开发者_如何转开发age I need to reload the whole app.

Is there a way I can restart/reload the whole application or views without refreshing the browser?


Try using the native JavaScript code for reloading the session i-e

location.reload();


You can always fire a launch event in the Ext.Application class, this will invoke all the app initialization code without refreshing the browser

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号