Jump to content

Difference in ExtJS between desktop and mobile environment


neo4a

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...