stewardsencha
1 Apr 2012, 4:39 PM
The docs give a quick example (yippee!)
// Basic mask:
var myMask = new Ext.LoadMask (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.LoadMask)(Ext.getBody (http://docs.sencha.com/ext-js/4-0/#!/api/Ext-method-getBody)(), {msg:"Please wait..."});
myMask.show();
but now I have to figure out how to unmask. Hide? Destroy the component?
Argh I haven't destroyed an object yet.
Can someone with more experience please rattle off the line that is the other half of this example?
Thx
// Basic mask:
var myMask = new Ext.LoadMask (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.LoadMask)(Ext.getBody (http://docs.sencha.com/ext-js/4-0/#!/api/Ext-method-getBody)(), {msg:"Please wait..."});
myMask.show();
but now I have to figure out how to unmask. Hide? Destroy the component?
Argh I haven't destroyed an object yet.
Can someone with more experience please rattle off the line that is the other half of this example?
Thx