X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..HEAD:/src/Layer.js diff --git a/src/Layer.js b/src/Layer.js index 16d0edd7..1a3eedbb 100644 --- a/src/Layer.js +++ b/src/Layer.js @@ -14,22 +14,40 @@ If you are unsure which license is appropriate for your use, please contact the */ /** * @class Ext.Layer - * @extends Ext.core.Element - * An extended {@link Ext.core.Element} object that supports a shadow and shim, constrain to viewport and + * @extends Ext.Element + * An extended {@link Ext.Element} object that supports a shadow and shim, constrain to viewport and * automatic maintaining of shadow/shim positions. - * @cfg {Boolean} shim False to disable the iframe shim in browsers which need one (defaults to true) - * @cfg {String/Boolean} shadow True to automatically create an {@link Ext.Shadow}, or a string indicating the - * shadow's display {@link Ext.Shadow#mode}. False to disable the shadow. (defaults to false) - * @cfg {Object} dh DomHelper object config to create element with (defaults to {tag: 'div', cls: 'x-layer'}). - * @cfg {Boolean} constrain False to disable constrain to viewport (defaults to true) - * @cfg {String} cls CSS class to add to the element - * @cfg {Number} zindex Starting z-index (defaults to 11000) - * @cfg {Number} shadowOffset Number of pixels to offset the shadow (defaults to 4) - * @cfg {Boolean} useDisplay + * + * @cfg {Boolean} [shim=true] + * False to disable the iframe shim in browsers which need one. + * + * @cfg {String/Boolean} [shadow=false] + * True to automatically create an {@link Ext.Shadow}, or a string indicating the + * shadow's display {@link Ext.Shadow#mode}. False to disable the shadow. + * + * @cfg {Object} [dh={tag: 'div', cls: 'x-layer'}] + * DomHelper object config to create element with. + * + * @cfg {Boolean} [constrain=true] + * False to disable constrain to viewport. + * + * @cfg {String} cls + * CSS class to add to the element + * + * @cfg {Number} [zindex=11000] + * Starting z-index. + * + * @cfg {Number} [shadowOffset=4] + * Number of pixels to offset the shadow + * + * @cfg {Boolean} [useDisplay=false] * Defaults to use css offsets to hide the Layer. Specify true * to use css style 'display:none;' to hide the Layer. - * @cfg {String} visibilityCls The CSS class name to add in order to hide this Layer if this layer + * + * @cfg {String} visibilityCls + * The CSS class name to add in order to hide this Layer if this layer * is configured with {@link #hideMode}: 'asclass' + * * @cfg {String} hideMode * A String which specifies how this Layer will be hidden. * Values may be