|
| add( Mixed els )
+ :
+ CompositeElementAdds elements to this Composite object. Adds elements to this Composite object. Parameters:Returns:CompositeElement This Composite object.
| CompositeElementLite |
| clear()
+ :
+ void | CompositeElementLite |
| contains( el {Mixed} )
+ :
+ BooleanReturns true if this composite contains the passed element Returns true if this composite contains the passed element | CompositeElementLite |
| each( Function fn , [Object scope ] )
+ :
CompositeElementCalls the passed function for each element in this composite. Calls the passed function for each element in this composite. | CompositeElementLite |
| fill( Mixed els )
- :
- CompositeElementClears this Composite and adds the elements passed. Clears this Composite and adds the elements passed. | CompositeElementLite |
| filter( String/Function selector )
- :
+scope : Object(optional) The scope (this reference) in which the function is executed. (defaults to the Element) Returns: | CompositeElementLite |
| fill( Mixed els )
+ :
+ CompositeElementClears this Composite and adds the elements passed. Clears this Composite and adds the elements passed. | CompositeElementLite |
| filter( String/Function selector )
+ :
CompositeElementFilters this composite to only elements that match the passed selector. Filters this composite to only elements that match the passed selector. Parameters:selector : String/FunctionA string CSS selector or a comparison function.
The comparison function will be called with the following arguments: Returns: | CompositeElementLite |
| first()
- :
- Ext.ElementReturns the first Element Returns the first Element | CompositeElementLite |
| getCount()
- :
- NumberReturns the number of elements in this Composite. Returns the number of elements in this Composite. | CompositeElementLite |
| indexOf( el {Mixed} )
- :
- NumberFind the index of the passed element within the composite collection. Find the index of the passed element within the composite collection. | CompositeElementLite |
| item( Number index )
- :
- Ext.ElementReturns a flyweight Element of the dom element object at the specified index Returns a flyweight Element of the dom element object at the specified index | CompositeElementLite |
| last()
- :
- Ext.Element | CompositeElementLite |
| removeElement( Mixed el , [Boolean removeDom ] )
- :
+Returns: | CompositeElementLite |
| first()
+ :
+ Ext.ElementReturns the first Element Returns the first Element | CompositeElementLite |
| getCount()
+ :
+ NumberReturns the number of elements in this Composite. Returns the number of elements in this Composite. | CompositeElementLite |
| indexOf( el {Mixed} )
+ :
+ NumberFind the index of the passed element within the composite collection. Find the index of the passed element within the composite collection. | CompositeElementLite |
| item( Number index )
+ :
+ Ext.ElementReturns a flyweight Element of the dom element object at the specified index Returns a flyweight Element of the dom element object at the specified index | CompositeElementLite |
| last()
+ :
+ Ext.Element | CompositeElementLite |
| removeElement( Mixed el , [Boolean removeDom ] )
+ :
CompositeElementRemoves the specified element(s). Removes the specified element(s). Parameters:el : MixedThe id of an element, the Element itself, the index of the element in this composite
-or an array of any of those. removeDom : Boolean(optional) True to also remove the element from the document Returns: | CompositeElementLite |
| replaceElement( Mixed el , Mixed replacement , [Boolean domReplace ] )
- :
+or an array of any of those.removeDom : Boolean(optional) True to also remove the element from the document Returns: | CompositeElementLite |
| replaceElement( Mixed el , Mixed replacement , [Boolean domReplace ] )
+ :
CompositeElementReplaces the specified element with the passed element. Replaces the specified element with the passed element. Parameters:el : MixedThe id of an element, the Element itself, the index of the element in this composite
to replace. replacement : MixedThe id of an element or the Element itself. domReplace : Boolean(Optional) True to remove and replace the element in the document too. Returns: | CompositeElementLite |