Forum /
Sencha Touch 1.x Forums /
Sencha Touch 1.x: Q&A /
Unanswered: How add loading mask
Unanswered: 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...
Sencha - Senior Forum Manager
Every component should have a setLoading method on it that takes true/false
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us