Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / source / CompositeElementLite-more.html
index b4525a5..97774c2 100644 (file)
@@ -1,27 +1,30 @@
+<!DOCTYPE html>
 <html>
 <head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>The source code</title>
-    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
-    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+  <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
+  <script type="text/javascript" src="../prettify/prettify.js"></script>
+  <style type="text/css">
+    .highlight { display: block; background-color: #ddd; }
+  </style>
+  <script type="text/javascript">
+    function highlight() {
+      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+    }
+  </script>
 </head>
-<body  onload="prettyPrint();">
-    <pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.2.1
- * Copyright(c) 2006-2010 Ext JS, Inc.
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-/**
- * @class Ext.CompositeElementLite
+<body onload="prettyPrint(); highlight();">
+  <pre class="prettyprint lang-js"><span id='Ext-CompositeElementLite'>/**
+</span> * @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 == &quot;string&quot;){
+            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;
     },
 
-    <div id="method-Ext.CompositeElementLite-first"></div>/**
-     * Returns the first Element
-     * @return {Ext.Element}
+<span id='Ext-CompositeElementLite-method-first'>    /**
+</span>     * Returns the first Element
+     * @return {Ext.core.Element}
      */
     first : function(){
         return this.item(0);
     },
 
-    <div id="method-Ext.CompositeElementLite-last"></div>/**
-     * Returns the last Element
-     * @return {Ext.Element}
+<span id='Ext-CompositeElementLite-method-last'>    /**
+</span>     * Returns the last Element
+     * @return {Ext.core.Element}
      */
     last : function(){
         return this.item(this.getCount()-1);
     },
 
-    <div id="method-Ext.CompositeElementLite-contains"></div>/**
-     * 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.
+<span id='Ext-CompositeElementLite-method-contains'>    /**
+</span>     * 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;
     },
 
-    <div id="method-Ext.CompositeElementLite-removeElement"></div>/**
-    * Removes the specified element(s).
+<span id='Ext-CompositeElementLite-method-removeElement'>    /**
+</span>    * 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;
     }
 });
-</pre>    
+</pre>
 </body>
-</html>
\ No newline at end of file
+</html>