neo4a Posted April 9, 2019 Share Posted April 9, 2019 Following discussion in this thread I'd like to know which version and documentation are valid for either desktop and mobile environment. There are some differences between JS syntax, e.g. Mobile: UniSession.addJS('Ext.Viewport.setMasked({xtype: ''loadmask'', message: ''Einen Moment bitte...''});'); UniSession.addJS('Ext.toast({message: "Die App wird neu gestartet...", timeout: 5000});'); Desktop: // Next line doesn't work in desktop mode //UniSession.addJS('Ext.Viewport.setMasked({xtype: ''loadmask'', message: ''Einen Moment bitte...''});'); UniSession.AddJS('Ext.toast({html: "The App will restart now...", header: false, autoCloseDelay: 5000});'); Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 9, 2019 Share Posted April 9, 2019 For example: Mobile: https://docs.sencha.com/extjs/6.7.0/modern/Ext.Toast.html Desktop: https://docs.sencha.com/extjs/6.7.0/classic/Ext.window.Toast.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.