2 "name" : "Roo.CompositeElement",
5 "Roo.CompositeElementLite"
7 "desc" : "Standard composite class. Creates a Roo.Element for every element in the collection.\n<br><br>\n<b>NOTE: Although they are not listed, this class supports all of the set/update methods of Roo.Element. All Roo.Element\nactions will be performed on all the elements in this collection.</b>\n<br><br>\nAll methods return <i>this</i> and can be chained.\n <pre><code>\n var els = Roo.select(\"#some-el div.some-class\", true);\n // or select directly from an existing element\n var el = Roo.get('some-el');\n el.select('div.some-class', true);\n\n els.setWidth(100); // all elements become 100 width\n els.hide(true); // all elements fade out and hide\n // or\n els.setWidth(100).hide(true);\n </code></pre>",
11 "memberOf" : "CompositeElement",
25 "desc" : "Adds elements to this composite.",
30 "isConstructor" : false,
41 "type" : "String/Array",
42 "desc" : "A string CSS selector, an array of elements or an element",
49 "type" : "CompositeElement",
57 "desc" : "Returns true if this composite contains the passed element",
62 "isConstructor" : false,
82 "desc" : "Calls the passed function passing (el, this, index) for each element in this composite.",
83 "sig" : "(fn, scope)",
87 "isConstructor" : false,
99 "desc" : "The function to call",
105 "desc" : "(optional) The <i>this</i> object (defaults to the element)",
112 "type" : "CompositeElement",
118 "name" : "replaceElement",
120 "desc" : "Replaces the specified element with the passed element.",
121 "sig" : "(el, replacement, domReplace)",
125 "isConstructor" : false,
136 "type" : "String/HTMLElement/Element/Number",
137 "desc" : "The id of an element, the Element itself, the index of the element in this composite\nto replace.",
141 "name" : "replacement",
142 "type" : "String/HTMLElement/Element",
143 "desc" : "The id of an element or the Element itself.",
147 "name" : "domReplace",
149 "desc" : "(Optional) True to remove and replace the element in the document too.",
156 "type" : "CompositeElement",
164 "desc" : "Clears this composite and adds the elements returned by the passed selector.",
169 "isConstructor" : false,
180 "type" : "String/Array",
181 "desc" : "A string CSS selector, an array of elements or an element",
188 "type" : "CompositeElement",
196 "desc" : "Removes all elements.",
197 "sig" : "()\n{\n\n}",
201 "isConstructor" : false,
215 "desc" : "Filters this composite to only elements that match the passed selector.",
216 "sig" : "(selector, inverse)",
220 "isConstructor" : false,
232 "desc" : "A string CSS selector",
238 "desc" : "return inverse filter (not matches)",
245 "type" : "CompositeElement",
253 "desc" : "Returns the Element object at the specified index",
258 "isConstructor" : false,
277 "type" : "Roo.Element",
285 "desc" : "Returns the last Element",
286 "sig" : "()\n{\n\n}",
290 "isConstructor" : false,
302 "type" : "Roo.Element",
308 "name" : "removeElement",
310 "desc" : "Removes the specified element(s).",
311 "sig" : "(el, removeDom)",
315 "isConstructor" : false,
327 "desc" : "The id of an element, the Element itself, the index of the element in this composite\nor an array of any of those.",
331 "name" : "removeDom",
333 "desc" : "(optional) True to also remove the element from the document",
340 "type" : "CompositeElement",
348 "desc" : "Returns true if this composite contains the passed element",
349 "sig" : "()\n{\n\n}",
353 "isConstructor" : false,
373 "desc" : "Returns the number of elements in this composite",
374 "sig" : "()\n{\n\n}",
378 "isConstructor" : false,
398 "desc" : "Returns the first Element",
399 "sig" : "()\n{\n\n}",
403 "isConstructor" : false,
415 "type" : "Roo.Element",