/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. Build date: 2013-04-03 15:07:25 */ Ext.data.JsonP.Ext_LoadMask({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":null,"uses":[],"html":"

Files

A simple utility class for generically masking elements while loading data. If the store\nconfig option is specified, the masking will be automatically synchronized with the store's loading\nprocess and the mask element will be cached for reuse. For all other elements, this mask will replace the\nelement's Updater load indicator and will be destroyed after the initial load.

\n\n

Example usage:

\n\n\n
// Basic mask:\nvar myMask = new Ext.LoadMask(Ext.getBody(), {msg:\"Please wait...\"});\nmyMask.show();\n
\n\n
Defined By

Config options

Ext.LoadMask
view source
: String
The text to display in a centered loading message box (defaults to 'Loading...') ...

The text to display in a centered loading message box (defaults to 'Loading...')

\n

Defaults to: 'Loading...'

The CSS class to apply to the loading message element (defaults to \"x-mask-loading\") ...

The CSS class to apply to the loading message element (defaults to \"x-mask-loading\")

\n

Defaults to: 'x-mask-loading'

Ext.LoadMask
view source
: Boolean
True to create a single-use mask that is automatically destroyed after loading (useful for page loads),\nFalse to pers...

True to create a single-use mask that is automatically destroyed after loading (useful for page loads),\nFalse to persist the mask element reference for multiple uses (e.g., for paged data widgets). Defaults to false.

\n
Optional Store to which the mask is bound. ...

Optional Store to which the mask is bound. The mask is displayed when a load request is issued, and\nhidden on either load sucess, or load fail.

\n
Defined By

Properties

Ext.LoadMask
view source
: Boolean
Read-only. ...

Read-only. True if the mask is currently disabled so that it will not be displayed (defaults to false)

\n

Defaults to: false

Defined By

Methods

Ext.LoadMask
view source
new( el, config ) : Ext.LoadMask
Create a new LoadMask ...

Create a new LoadMask

\n

Parameters

  • el : Mixed

    The element or DOM node, or its id

    \n
  • config : Object

    The config object

    \n

Returns

Ext.LoadMask
view source
( )
Disables the mask to prevent it from being displayed ...

Disables the mask to prevent it from being displayed

\n
Ext.LoadMask
view source
( )
Enables the mask so that it can be displayed ...

Enables the mask so that it can be displayed

\n
Ext.LoadMask
view source
( )
Hide this LoadMask. ...

Hide this LoadMask.

\n
Ext.LoadMask
view source
( )
Show this LoadMask over the configured Element. ...

Show this LoadMask over the configured Element.

\n
","superclasses":[],"meta":{},"requires":[],"html_meta":{},"statics":{"property":[],"cfg":[],"css_var":[],"method":[],"event":[],"css_mixin":[]},"files":[{"href":"LoadMask.html#Ext-LoadMask","filename":"LoadMask.js"}],"linenr":1,"members":{"property":[{"tagname":"property","owner":"Ext.LoadMask","meta":{},"name":"disabled","id":"property-disabled"}],"cfg":[{"tagname":"cfg","owner":"Ext.LoadMask","meta":{},"name":"msg","id":"cfg-msg"},{"tagname":"cfg","owner":"Ext.LoadMask","meta":{},"name":"msgCls","id":"cfg-msgCls"},{"tagname":"cfg","owner":"Ext.LoadMask","meta":{},"name":"removeMask","id":"cfg-removeMask"},{"tagname":"cfg","owner":"Ext.LoadMask","meta":{},"name":"store","id":"cfg-store"}],"css_var":[],"method":[{"tagname":"method","owner":"Ext.LoadMask","meta":{},"name":"constructor","id":"method-constructor"},{"tagname":"method","owner":"Ext.LoadMask","meta":{},"name":"disable","id":"method-disable"},{"tagname":"method","owner":"Ext.LoadMask","meta":{},"name":"enable","id":"method-enable"},{"tagname":"method","owner":"Ext.LoadMask","meta":{},"name":"hide","id":"method-hide"},{"tagname":"method","owner":"Ext.LoadMask","meta":{},"name":"show","id":"method-show"}],"event":[],"css_mixin":[]},"inheritable":null,"private":null,"component":false,"name":"Ext.LoadMask","singleton":false,"override":null,"inheritdoc":null,"id":"class-Ext.LoadMask","mixins":[],"mixedInto":[]});