X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/output/Ext.Layer.html diff --git a/docs/output/Ext.Layer.html b/docs/output/Ext.Layer.html index 460b677f..4e69dc70 100644 --- a/docs/output/Ext.Layer.html +++ b/docs/output/Ext.Layer.html @@ -1,8 +1,9 @@ -
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 +266,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 ] )
:
@@ -500,17 +497,15 @@ Ext.Error class.Parameters:
| Element | |
isScrollable()
:
- Boolean Returns true if this element is scrollable. Returns true if this element is scrollable. Parameters:
| Element | |
isVisible()
+ Boolean Returns true if this element is scrollable. Returns true if this element is scrollable. Parameters:
| Element | |
isVisible( [Boolean deep ] )
:
- BooleanChecks whether the element is currently visible using both visibility and display properties. Checks whether the element is currently visible using both visibility and display properties. Parameters:
| Element | |
last( [String selector ], [Boolean returnDom ] )
+ BooleanChecks whether the element is currently visible using both visibility and display properties. Checks whether the element is currently visible using both visibility and display properties. Parameters:
| Element | |
last( [String selector ], [Boolean returnDom ] )
:
- Ext.Element/HTMLElementGets the last child, skipping text nodes Gets the last child, skipping text nodes Parameters:
| Element | |
load( Mixed options. )
+ Ext.Element/HTMLElementGets the last child, skipping text nodes Gets the last child, skipping text nodes Parameters:
| Element | |
load()
:
- Ext.Element Updates the <a href="http://developer.mozilla.org/en/DOM/element.innerHTML">innerHTML of this Element
-from a specifie... Updates the innerHTML of this Element -from a specified URL. Note that this is subject to the Same Origin Policy -Updating innerHTML of an element will not execute embedded <script> elements. This is a browser restriction. Parameters:
| Element | |
mask( [String msg ], [String msgCls ] )
+ Ext.ElementDirect access to the Updater Ext.Updater.update method. The method takes the same object
+parameter as Ext.Updater.upd... Direct access to the Updater Ext.Updater.update method. The method takes the same object
+parameter as Ext.Updater.update Parameters:
| Element | |
mask( [String msg ], [String msgCls ] )
:
ElementPuts a mask over this element to disable user interaction. Requires core.css.
This method can only be applied to elem... Puts a mask over this element to disable user interaction. Requires core.css.
@@ -577,11 +572,11 @@ within this element's scrollable range. Param
was scrolled as far as it could go. | Element | |
scrollIntoView( [Mixed container ], [Boolean hscroll ] )
:
Ext.ElementScrolls this element into view within the passed container. Scrolls this element into view within the passed container. Parameters:
| Element | |
scrollTo( String side , Number value )
+string (id), dom node, or Ext.Element.hscroll : Boolean(optional) False to disable horizontal scroll (defaults to true)
| 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 selector )
+ 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 ] )
:
- 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 ] )
+ 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 )
:
@@ -692,9 +687,9 @@ then this must refer to the same object.Returns:Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first... Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).
This is a shortcut for findParentNode() that always returns an Ext.Element. Parameters:
| Element | |
update( String html )
+ search as a number or element (defaults to 10 || document.body)Returns:
| Element | |
update( String html , [Boolean loadScripts ], [Function callback ] )
:
- Ext.ElementUpdate the innerHTML of this element Update the innerHTML of this element Parameters:
| Element | |
wrap( [Object config ], [Boolean returnDom ] )
+ Ext.ElementUpdate the innerHTML of this element, optionally searching for and processing scripts Update the innerHTML of this element, optionally searching for and processing scripts Parameters:
| Element | |
wrap( [Object config ], [Boolean returnDom ] )
:
HTMLElement/ElementCreates and wraps this element with another element Creates and wraps this element with another element Parameters:
| Element |
Event | Defined By | |
---|---|---|
DOMActivate :
( Ext.EventObject e , HtmlElement t , Object o )
|