Results 1 to 4 of 4

Thread: setMasked not displaying spinner or message

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    21
    Vote Rating
    0
      0  

    Default 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?

  2. #2
    Sencha User grgur's Avatar
    Join Date
    Aug 2007
    Location
    Split, Croatia
    Posts
    155
    Answers
    10
    Vote Rating
    26
      0  

    Default

    You should specify the xtype for the mask. This will do the job:

    Code:
    Ext.Viewport.setMasked({
           xtype: 'loadmask',
           message: 'Loading..'
    });
    <div style="float: left; width: 70px;">http://appac.us/mcs.png</div><div style="float: left; height: 100px;">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</div><div style="clear:both;"></div>

  3. #3
    Sencha User jsveron23's Avatar
    Join Date
    Feb 2011
    Location
    Seoul, Korea
    Posts
    78
    Answers
    1
    Vote Rating
    2
      1  

    Default

    sass

    add this

    @include sencha-loading-spinner;

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    82
    Answers
    5
    Vote Rating
    1
      0  

    Default

    Thanks. That's what I was looking for.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •