Properties Methods Events Config Options Direct Link
Element
  Layer

Class Ext.Layer

Package:Ext
Defined In:Layer.js
Class:Layer
Extends:Element
An extended Ext.Element object that supports a shadow and shim, constrain to viewport and automatic maintaining of shadow/shim positions.

Config Options

Config OptionsDefined By
 cls : String
CSS class to add to the element
Layer
 constrain : Boolean
False to disable constrain to viewport (defaults to true)
Layer
 dh : Object
DomHelper object config to create element with (defaults to {tag: 'div', cls: 'x-layer'}).
Layer
 shadowOffset : Number
Number of pixels to offset the shadow (defaults to 4)
Layer
 shim : Boolean
False to disable the iframe shim in browsers which need one (defaults to true)
Layer
 useDisplay : Boolean
Defaults to use css offsets to hide the Layer. Specify true to use css style 'display:none;' to hide the Layer.
Layer
 zindex : Number
Starting z-index (defaults to 11000)
Layer

Public Properties

PropertyDefined By
 DISPLAY : Number
Visibility mode constant for use with setVisibilityMode. Use display to hide element
Element
 VISIBILITY : Number
Visibility mode constant for use with setVisibilityMode. Use visibility to hide element
Element
 autoBoxAdjust : Object
true to automatically adjust width and height settings for box-model issues (default to true)
Element
 defaultUnit : String
The default unit to append to CSS values where a unit isn't provided (defaults to px).
Element
 dom : HTMLElement
The DOM element
Element
 id : String
The DOM element ID
Element
 originalDisplay : String
The element's default display mode (defaults to "")
Element

Public Methods

MethodDefined By

Public Events

EventDefined By