X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..refs/heads/old:/docs/source/CompositeElement.html?ds=inline diff --git a/docs/source/CompositeElement.html b/docs/source/CompositeElement.html index 4e20d023..68fd0a03 100644 --- a/docs/source/CompositeElement.html +++ b/docs/source/CompositeElement.html @@ -7,10 +7,10 @@
/*!
- * Ext JS Library 3.2.0
- * Copyright(c) 2006-2010 Ext JS, Inc.
- * licensing@extjs.com
- * http://www.extjs.com/license
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
  */
 
/** * @class Ext.CompositeElement @@ -33,12 +33,12 @@ els.hide(true); // all elements fade out and hide els.setWidth(100).hide(true);
*/ -Ext.CompositeElement = function(els, root){ - this.elements = []; - this.add(els, root); -}; - -Ext.extend(Ext.CompositeElement, Ext.CompositeElementLite, { +Ext.CompositeElement = Ext.extend(Ext.CompositeElementLite, { + + constructor : function(els, root){ + this.elements = []; + this.add(els, root); + }, // private getElement : function(el){ @@ -82,7 +82,7 @@ Ext.extend(Ext.CompositeElement, Ext.CompositeElementLite, { */ }); -/** +
/** * Selects elements based on the passed CSS selector to enable {@link Ext.Element Element} methods * to be applied to many related elements in one statement through the returned {@link Ext.CompositeElement CompositeElement} or * {@link Ext.CompositeElementLite CompositeElementLite} object. @@ -106,7 +106,7 @@ Ext.Element.select = function(selector, unique, root){ return (unique === true) ? new Ext.CompositeElement(els) : new Ext.CompositeElementLite(els); }; -
/** +
/** * Selects elements based on the passed CSS selector to enable {@link Ext.Element Element} methods * to be applied to many related elements in one statement through the returned {@link Ext.CompositeElement CompositeElement} or * {@link Ext.CompositeElementLite CompositeElementLite} object. @@ -114,7 +114,7 @@ Ext.Element.select = function(selector, unique, root){ * @param {Boolean} unique (optional) true to create a unique Ext.Element for each element (defaults to a shared flyweight object) * @param {HTMLElement/String} root (optional) The root element of the query or id of the root * @return {CompositeElementLite/CompositeElement} - * @member Ext.Element + * @member Ext * @method select */ Ext.select = Ext.Element.select;