|
| Element( String/HTMLElement element , [Boolean forceNew ] )
Create a new Element directly. Create a new Element directly. | Element |
| 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. | Element |
| addClassOnClick( String className )
@@ -311,11 +312,7 @@ way points during transit.
Ext.ElementAppends this element to the passed element Appends this element to the passed element Parameters:el : MixedThe new parent element Returns: | 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:styles : String/Object/FunctionA style specification string, e.g. "width:100px", or object in the form {width:"100px"}, or
-a function which returns such a specification. Returns: | 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:animate : Boolean(optional) Animate the transition (defaults to false) duration : Float(optional) Length of the animation in seconds (defaults to .35) onComplete : Function(optional) Function to call when animation completes easing : String(optional) Easing method to use (defaults to easeOut) Returns: | Element |
| blur()
+a function which returns such a specification.Returns: | Element |
| blur()
:
Ext.ElementTries to blur the element. Any exceptions are caught and ignored. Tries to blur the element. Any exceptions are caught and ignored. | Element |
| boxWrap( [String class ] )
:
@@ -555,17 +552,15 @@ Ext.Error class.Parameters:-
:
Boolean
Returns true if this element is masked Returns true if this element is masked
| Element |
| isScrollable()
:
- BooleanReturns true if this element is scrollable. Returns true if this element is scrollable. | Element |
| isVisible()
+ BooleanReturns true if this element is scrollable. Returns true if this element is scrollable. | 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. | 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. | Element |
| last( [String selector ], [Boolean returnDom ] )
:
- Ext.Element/HTMLElementGets the last child, skipping text nodes Gets the last child, skipping text nodes Parameters:Returns:Ext.Element/HTMLElement The last child or null
| Element |
| load( Mixed options. )
+ Ext.Element/HTMLElementGets the last child, skipping text nodes Gets the last child, skipping text nodes Parameters:Returns:Ext.Element/HTMLElement The last child or null
| Element |
| load()
:
- Ext.ElementUpdates 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:options. : MixedEither a sring containing the URL from which to load the HTML, or an Ext.Ajax.request options object specifying
-exactly how to request the HTML. Returns: | 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... | 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.
@@ -632,11 +627,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:container : Mixed(optional) The container element to scroll (defaults to document.body). Should be a
-string (id), dom node, or Ext.Element. hscroll : Boolean(optional) False to disable horizontal scroll (defaults to true) Returns: | Element |
| scrollTo( String side , Number value )
+string (id), dom node, or Ext.Element.hscroll : Boolean(optional) False to disable horizontal scroll (defaults to true) Returns: | 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(). | 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(). | 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:selector : StringThe CSS selector Returns:CompositeElement/CompositeElementLite The composite element
| 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:Returns:CompositeElement/CompositeElementLite The composite element
| 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) | Element |
| setBottom( String bottom )
:
@@ -742,9 +737,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. | 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:html : StringThe new HTML Returns: | 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 | Element |
| wrap( [Object config ], [Boolean returnDom ] )
:
HTMLElement/ElementCreates and wraps this element with another element Creates and wraps this element with another element | Element |