|
| ( Function fn , [Object scope ] )
+ :
+ CompositeElementIterates each element in this composite
+calling the supplied function using Ext.each. Iterates each element in this composite
+calling the supplied function using Ext.each. | CompositeElement |
| 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 ] )
+ 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 passing (el, this, index) for each element in this composite. Calls the passed function passing (el, this, index) for each element in this composite. | CompositeElement |
| fill( String/Array els )
+ 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 returned by the passed selector. Clears this composite and adds the elements returned by the passed selector. | CompositeElementLite |
| filter( String selector )
+ 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 : StringA string CSS selector Returns: | CompositeElementLite |
| first()
+ 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} )
+ 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 )
+ 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 the Element object at the specified index Returns the Element object at the specified index | CompositeElement |
| last()
+ 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
+ CompositeElement Removes 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 ] )
:
- 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
+ CompositeElement Replaces 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 |