2 "name" : "Roo.CompositeElement",
5 "Roo.CompositeElement" : [
6 "Roo.CompositeElementLite"
11 "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>",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
17 "memberOf" : "CompositeElement",
31 "desc" : "Adds elements to this composite.",
36 "isConstructor" : false,
47 "type" : "String/Array",
48 "desc" : "A string CSS selector, an array of elements or an element",
55 "type" : "CompositeElement",
63 "desc" : "Returns true if this composite contains the passed element",
68 "isConstructor" : false,
88 "desc" : "Calls the passed function passing (el, this, index) for each element in this composite.",
89 "sig" : "(fn, scope)",
93 "isConstructor" : false,
105 "desc" : "The function to call",
111 "desc" : "(optional) The <i>this</i> object (defaults to the element)",
118 "type" : "CompositeElement",
124 "name" : "replaceElement",
126 "desc" : "Replaces the specified element with the passed element.",
127 "sig" : "(el, replacement, domReplace)",
131 "isConstructor" : false,
142 "type" : "String/HTMLElement/Element/Number",
143 "desc" : "The id of an element, the Element itself, the index of the element in this composite\nto replace.",
147 "name" : "replacement",
148 "type" : "String/HTMLElement/Element",
149 "desc" : "The id of an element or the Element itself.",
153 "name" : "domReplace",
155 "desc" : "(Optional) True to remove and replace the element in the document too.",
162 "type" : "CompositeElement",
170 "desc" : "Clears this composite and adds the elements returned by the passed selector.",
175 "isConstructor" : false,
186 "type" : "String/Array",
187 "desc" : "A string CSS selector, an array of elements or an element",
194 "type" : "CompositeElement",
202 "desc" : "Removes all elements.",
203 "sig" : "()\n{\n\n}",
207 "isConstructor" : false,
221 "desc" : "Filters this composite to only elements that match the passed selector.",
222 "sig" : "(selector, inverse)",
226 "isConstructor" : false,
238 "desc" : "A string CSS selector",
244 "desc" : "return inverse filter (not matches)",
251 "type" : "CompositeElement",
259 "desc" : "Returns the Element object at the specified index",
264 "isConstructor" : false,
283 "type" : "Roo.Element",
291 "desc" : "Returns the last Element",
292 "sig" : "()\n{\n\n}",
296 "isConstructor" : false,
308 "type" : "Roo.Element",
314 "name" : "removeElement",
316 "desc" : "Removes the specified element(s).",
317 "sig" : "(el, removeDom)",
321 "isConstructor" : false,
333 "desc" : "The id of an element, the Element itself, the index of the element in this composite\nor an array of any of those.",
337 "name" : "removeDom",
339 "desc" : "(optional) True to also remove the element from the document",
346 "type" : "CompositeElement",
354 "desc" : "Returns true if this composite contains the passed element",
355 "sig" : "()\n{\n\n}",
359 "isConstructor" : false,
379 "desc" : "Returns the number of elements in this composite",
380 "sig" : "()\n{\n\n}",
384 "isConstructor" : false,
404 "desc" : "Returns the first Element",
405 "sig" : "()\n{\n\n}",
409 "isConstructor" : false,
421 "type" : "Roo.Element",