|
| 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 )
@@ -518,7 +518,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). | Element |
| getY()
:
- 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). | 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). | 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. | 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. | Element |
| hide( [Boolean/Object animate ] )
:
@@ -550,15 +555,17 @@ Sizing of the document body is handled at the adapter level which handles specia
:
BooleanReturns 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( [Boolean deep ] )
+ BooleanReturns true if this element is scrollable. Returns true if this element is scrollable. | Element |
| isVisible()
:
- 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()
+ 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.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 ] )
+ 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 ] )
:
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.
@@ -625,14 +632,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 , [Boolean/Object animate ] )
+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 )
:
- 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/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(). | Element |
| select( String selector )
:
- 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:selector : String/ArrayThe CSS selector or an array of elements unique : Boolean(optional) true to create a unique Ext.Element for each element (defaults to a shared flyweight object) root : HTMLElement/String(optional) The root element of the query or id of the root Returns:CompositeElementLite/CompositeElement
| 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:selector : StringThe CSS selector 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 )
:
@@ -738,9 +742,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 , [Boolean loadScripts ], [Function callback ] )
+ search as a number or element (defaults to 10 || document.body)Returns: | Element |
| update( String html )
:
- 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 ] )
+ 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 ] )
:
HTMLElement/ElementCreates and wraps this element with another element Creates and wraps this element with another element | Element |