X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..e9397f91ede62d446aed37d23256e8938fc4c335:/docs/output/Ext.Layer.html?ds=sidebyside diff --git a/docs/output/Ext.Layer.html b/docs/output/Ext.Layer.html index a9bc8455..754399e2 100644 --- a/docs/output/Ext.Layer.html +++ b/docs/output/Ext.Layer.html @@ -1,8 +1,10 @@ -
Element Layer
Package: | Ext |
Defined In: | Layer.js |
Class: | Layer |
Extends: | Element |
Element + Layer
Package: | Ext |
Defined In: | Layer.js |
Class: | Layer |
Extends: | Element |
Config Options | Defined 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 | |
shadow : String/Boolean True to automatically create an Ext.Shadow, or a string indicating the
shadow's display Ext.Shadow.mode. False to dis... True to automatically create an Ext.Shadow, or a string indicating the
shadow's display Ext.Shadow.mode. False to disable the shadow. (defaults to false) | 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 |
Property | Defined 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 |
Method | Defined By | |
---|---|---|
Layer( Object config , [String/HTMLElement existingEl ] )
+to use css style 'display:none;' to hide the Layer. | Layer | |
zindex : Number Starting z-index (defaults to 11000) | Layer |
Property | Defined By | |
---|---|---|
DISPLAY : Number Visibility mode constant for use with setVisibilityMode. Use display to hide element | Element | |
OFFSETS : Number Visibility mode constant for use with setVisibilityMode. Use offsets (x and y positioning offscreen)
+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 | |
visibilityCls : String Defaults to 'x-hide-nosize' | Element |
Method | Defined By | ||
---|---|---|---|
Layer( Object config , [String/HTMLElement existingEl ] )
Parameters:
| Layer | ||
addClass( String/Array className )
:
Ext.ElementAdds one or more CSS classes to the element. Duplicate classes are automatically filtered out. Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out. Parameters:
| Element | ||
addClassOnClick( String className )
@@ -265,11 +267,7 @@ way points during transit.
Ext.ElementAppends this element to the passed element Appends this element to the passed element Parameters:
| Element | ||
applyStyles( String/Object/Function styles )
:
Ext.ElementMore flexible version of setStyle for setting style properties. More flexible version of setStyle for setting style properties. Parameters:
| Element | ||
autoHeight( [Boolean animate ], [Float duration ], [Function onComplete ], [String easing ] )
- :
- Ext.ElementMeasures the element's content height and updates height to match. Note: this function uses setTimeout so
-the new hei... Measures the element's content height and updates height to match. Note: this function uses setTimeout so
-the new height may not be available immediately. Parameters:
| Element | ||
blur()
+a function which returns such a specification.Returns:
| Element | ||
blur()
:
Ext.Element Tries to blur the element. Any exceptions are caught and ignored. Tries to blur the element. Any exceptions are caught and ignored. Parameters:
| Element | ||
boxWrap( [String class ] )
:
@@ -463,7 +461,12 @@ Sizing of the document body is handled at the adapter level which handles specia
:
ArrayGets the current position of the element based on page coordinates. Element must be part of the DOM tree to have pag... Gets the current position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). Parameters:
| Element | ||
getY()
:
- Number Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have p... Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). Parameters:
| Element | ||
hasClass( String className )
+ NumberGets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have p... Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). Parameters:
| Element | ||
handleError( Object/Error e )
+ :
+ voidFramework-wide error-handler. Developers can override this method to provide
+custom exception-handling. Framework e... Framework-wide error-handler. Developers can override this method to provide
+custom exception-handling. Framework errors will often extend from the base
+Ext.Error class. Parameters:
| Element | ||
hasClass( String className )
:
BooleanChecks if the specified CSS class exists on this element's DOM node. Checks if the specified CSS class exists on this element's DOM node. Parameters:
| Element | ||
hide( [Boolean/Object animate ] )
:
@@ -572,12 +575,9 @@ was scrolled as far as it could go. | Scrolls this element into view within the passed container. Scrolls this element into view within the passed container. Parameters:
| Element | |
scrollTo( String side , Number value , [Boolean/Object animate ] )
:
- ElementScrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it ... Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll(). Parameters:
| Element | ||
select( String/Array selector , [Boolean unique ], [HTMLElement/String root ] )
+ ElementScrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it ... Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll(). Parameters:
| Element | ||
select( String selector , [Boolean unique ] )
:
- CompositeElementLite/CompositeElementSelects elements based on the passed CSS selector to enable Element methods
-to be applied to many related elements in... Selects elements based on the passed CSS selector to enable Element methods
-to be applied to many related elements in one statement through the returned CompositeElement or
-CompositeElementLite object. Parameters:
| Element | ||
set( Object o , [Boolean useSet ] )
+ CompositeElement/CompositeElementLiteCreates a Ext.CompositeElement for child nodes based on the passed CSS selector (the selector should not contain an i... Creates a Ext.CompositeElement for child nodes based on the passed CSS selector (the selector should not contain an id). Parameters:
| Element | ||
set( Object o , [Boolean useSet ] )
:
Ext.ElementSets the passed attributes as attributes of this element (a style attribute can be a string, object or function) Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function) Parameters:
| Element | ||
setBottom( String bottom )
:
|