Results 1 to 2 of 2

Thread: How add loading mask

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    17
    Vote Rating
    0
      0  

    Default How add loading mask

    hi, i'm nubie try to learn sencha touch, now i'm using v.1.1.1
    i have list menu, and when i tap a list, i want add loading mask before list content show

    here it's a code for listener :

    list.addListener('selectionchange', function (model, records) {
    if (records[0]) {
    mainScreen.setActiveItem(contentSidePanel, {type: 'slide', direction: 'right'});
    contentSidePanel.update(records[0].data);
    mainScreen.doLayout();
    mainScreen.showingPage = true;
    mainScreen.showingSplash = false;
    }
    });

    thx b4 for all solution...

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    Every component should have a setLoading method on it that takes true/false
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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