-
27 Jun 2012 6:43 PM #1
Unanswered: setMasked not displaying spinner or message
Unanswered: setMasked not displaying spinner or message
I'm displaying a loading message like this while fetching data:
Ext.Viewport.setMasked({message: 'Loading...'});
After I create my production version with the sencha app build production command, the setMasked function disables the page but no longer shows the spinner icon or the loading message. What am I doing wrong?
-
27 Jun 2012 9:12 PM #2Sencha - Community Support Team
- Join Date
- Aug 2007
- Location
- Split, Croatia
- Posts
- 133
- Vote Rating
- 14
- Answers
- 9
You should specify the xtype for the mask. This will do the job:
Code:Ext.Viewport.setMasked({ xtype: 'loadmask', message: 'Loading..' });Grgur Grisogono
Ext JS in Action SE co-author
Exercising awesomeness at Modus Create - Official Sencha Partner
Get in touch for Sencha Touch Training
@ggrgur
-
28 Jun 2012 3:09 AM #3
sass
add this
@include sencha-loading-spinner;Facebook: http://www.facebook.com/jsveron23
Twitter: https://twitter.com/#!/jsveron23
Github: https://github.com/jsveron23
Blog: http://blog.werconnected.info/
Email: jsveron23@gmail.com
-
31 Oct 2012 9:31 PM #4
Thanks. That's what I was looking for.


Reply With Quote
