X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/f5240829880f87e0cf581c6a296e436fdef0ef80..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/CompositeElementLite-more.html diff --git a/docs/source/CompositeElementLite-more.html b/docs/source/CompositeElementLite-more.html index 1f27410b..97774c24 100644 --- a/docs/source/CompositeElementLite-more.html +++ b/docs/source/CompositeElementLite-more.html @@ -1,27 +1,30 @@ +
- +/*! - * Ext JS Library 3.3.0 - * Copyright(c) 2006-2010 Ext JS, Inc. - * licensing@extjs.com - * http://www.extjs.com/license - */ -/** - * @class Ext.CompositeElementLite + +- \ No newline at end of file +/** + * @class Ext.CompositeElementLite */ Ext.apply(Ext.CompositeElementLite.prototype, { addElements : function(els, root){ if(!els){ return this; } - if(typeof els == "string"){ - els = Ext.Element.selectorFunction(els, root); + if(typeof els == "string"){ + els = Ext.core.Element.selectorFunction(els, root); } var yels = this.elements; Ext.each(els, function(e) { @@ -30,33 +33,33 @@ Ext.apply(Ext.CompositeElementLite.prototype, { return this; }, - /** - * Returns the first Element - * @return {Ext.Element} + /** + * Returns the first Element + * @return {Ext.core.Element} */ first : function(){ return this.item(0); }, - /** - * Returns the last Element - * @return {Ext.Element} + /** + * Returns the last Element + * @return {Ext.core.Element} */ last : function(){ return this.item(this.getCount()-1); }, - /** - * Returns true if this composite contains the passed element - * @param el {Mixed} The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection. + /** + * Returns true if this composite contains the passed element + * @param el {Mixed} The id of an element, or an Ext.core.Element, or an HtmlElement to find within the composite collection. * @return Boolean */ contains : function(el){ return this.indexOf(el) != -1; }, - /** - * Removes the specified element(s). + /** + * Removes the specified element(s). * @param {Mixed} el The id of an element, the Element itself, the index of the element in this composite * or an array of any of those. * @param {Boolean} removeDom (optional) True to also remove the element from the document @@ -81,6 +84,6 @@ Ext.apply(Ext.CompositeElementLite.prototype, { return this; } }); -+