2 "name" : "Roo.CompositeElement",
4 "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>",
8 "memberOf" : "CompositeElement",
22 "desc" : "Adds elements to this composite.",
27 "isConstructor" : false,
38 "type" : "String/Array",
39 "desc" : "A string CSS selector, an array of elements or an element",
46 "type" : "CompositeElement",
54 "desc" : "Returns true if this composite contains the passed element",
59 "isConstructor" : false,
79 "desc" : "Calls the passed function passing (el, this, index) for each element in this composite.",
80 "sig" : "(fn, scope)",
84 "isConstructor" : false,
96 "desc" : "The function to call",
102 "desc" : "(optional) The <i>this</i> object (defaults to the element)",
109 "type" : "CompositeElement",
115 "name" : "replaceElement",
117 "desc" : "Replaces the specified element with the passed element.",
118 "sig" : "(el, replacement, domReplace)",
122 "isConstructor" : false,
133 "type" : "String/HTMLElement/Element/Number",
134 "desc" : "The id of an element, the Element itself, the index of the element in this composite\nto replace.",
138 "name" : "replacement",
139 "type" : "String/HTMLElement/Element",
140 "desc" : "The id of an element or the Element itself.",
144 "name" : "domReplace",
146 "desc" : "(Optional) True to remove and replace the element in the document too.",
153 "type" : "CompositeElement",
161 "desc" : "Clears this composite and adds the elements returned by the passed selector.",
166 "isConstructor" : false,
177 "type" : "String/Array",
178 "desc" : "A string CSS selector, an array of elements or an element",
185 "type" : "CompositeElement",
193 "desc" : "Removes all elements.",
194 "sig" : "()\n{\n\n}",
198 "isConstructor" : false,
212 "desc" : "Filters this composite to only elements that match the passed selector.",
213 "sig" : "(selector, inverse)",
217 "isConstructor" : false,
229 "desc" : "A string CSS selector",
235 "desc" : "return inverse filter (not matches)",
242 "type" : "CompositeElement",
250 "desc" : "Returns the Element object at the specified index",
255 "isConstructor" : false,
274 "type" : "Roo.Element",
282 "desc" : "Returns the last Element",
283 "sig" : "()\n{\n\n}",
287 "isConstructor" : false,
299 "type" : "Roo.Element",
305 "name" : "removeElement",
307 "desc" : "Removes the specified element(s).",
308 "sig" : "(el, removeDom)",
312 "isConstructor" : false,
324 "desc" : "The id of an element, the Element itself, the index of the element in this composite\nor an array of any of those.",
328 "name" : "removeDom",
330 "desc" : "(optional) True to also remove the element from the document",
337 "type" : "CompositeElement",
345 "desc" : "Returns true if this composite contains the passed element",
346 "sig" : "()\n{\n\n}",
350 "isConstructor" : false,
370 "desc" : "Returns the number of elements in this composite",
371 "sig" : "()\n{\n\n}",
375 "isConstructor" : false,
395 "desc" : "Returns the first Element",
396 "sig" : "()\n{\n\n}",
400 "isConstructor" : false,
412 "type" : "Roo.Element",