Package: | Ext |
Defined In: | LoadMask.js |
Class: | LoadMask |
Extends: | Object |
Example usage:
// Basic mask:
var myMask = new Ext.LoadMask(Ext.getBody(), {msg:"Please wait..."});
myMask.show();
Config Options | Defined By | |
---|---|---|
msg : String The text to display in a centered loading message box (defaults to 'Loading...') | LoadMask | |
msgCls : String The CSS class to apply to the loading message element (defaults to "x-mask-loading") | LoadMask | |
store : Ext.data.Store Optional Store to which the mask is bound. The mask is displayed when a load request is issued, and
hidden on either ... Optional Store to which the mask is bound. The mask is displayed when a load request is issued, and
hidden on either load sucess, or load fail. | LoadMask |
Property | Defined By | |
---|---|---|
disabled : Boolean Read-only. True if the mask is currently disabled so that it will not be displayed (defaults to false) | LoadMask |
Method | Defined By | |
---|---|---|
LoadMask( Mixed el , Object config )
Create a new LoadMask Create a new LoadMask Parameters:
| LoadMask | |
bindStore( Store store )
:
voidChanges the data store bound to this LoadMask. Changes the data store bound to this LoadMask. Parameters:
| LoadMask | |
disable()
:
void Disables the mask to prevent it from being displayed Disables the mask to prevent it from being displayed Parameters:
| LoadMask | |
enable()
:
void Enables the mask so that it can be displayed Enables the mask so that it can be displayed Parameters:
| LoadMask | |
hide()
:
void Hide this LoadMask. Hide this LoadMask. Parameters:
| LoadMask | |
isDisabled()
:
Boolean Method to determine whether this LoadMask is currently disabled. Method to determine whether this LoadMask is currently disabled. Parameters:
| LoadMask | |
show()
:
void Show this LoadMask over the configured Element. Show this LoadMask over the configured Element. Parameters:
| LoadMask |