X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/output/Ext.CompositeElement.js diff --git a/docs/output/Ext.CompositeElement.js b/docs/output/Ext.CompositeElement.js index b69bb49e..02e7b984 100644 --- a/docs/output/Ext.CompositeElement.js +++ b/docs/output/Ext.CompositeElement.js @@ -1,412 +1,465 @@ Ext.data.JsonP.Ext_CompositeElement({ - "tagname": "class", - "name": "Ext.CompositeElement", - "doc": "

This class encapsulates a collection of DOM elements, providing methods to filter\nmembers, or to perform collective actions upon the whole set.

\n\n\n

Although they are not listed, this class supports all of the methods of Ext.core.Element and\nExt.fx.Anim. The methods from these classes will be performed on all the elements in this collection.

\n\n\n

All methods return this and can be chained.

\n\n\n

Usage:

\n\n
var els = Ext.select(\"#some-el div.some-class\", true);\n// or select directly from an existing element\nvar el = Ext.get('some-el');\nel.select('div.some-class', true);\n\nels.setWidth(100); // all elements become 100 width\nels.hide(true); // all elements fade out and hide\n// or\nels.setWidth(100).hide(true);\n
\n\n", - "extends": "Ext.CompositeElementLite", - "mixins": [ - - ], - "alternateClassNames": [ + "allMixins": [ ], - "xtype": null, - "author": null, + "deprecated": null, "docauthor": null, - "singleton": false, - "private": false, - "cfg": [ + "members": { + "cfg": [ - ], - "method": [ - { - "tagname": "method", - "name": "add", - "member": "Ext.CompositeElementLite", - "doc": "

Adds elements to this Composite object.

\n", - "params": [ - { - "type": "Mixed", - "name": "els", - "doc": "

Either an Array of DOM elements to add, or another Composite object who's elements should be added.

\n", - "optional": false + ], + "method": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-add", + "shortDoc": "Adds elements to this Composite object. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ + { + "type": "Mixed", + "optional": false, + "doc": "

Either an Array of DOM elements to add, or another Composite object who's elements should be added.

\n", + "name": "els" + }, + { + "type": "Object", + "optional": false, + "doc": "\n", + "name": "root" + } + ], + "name": "add", + "owner": "Ext.CompositeElementLite", + "doc": "

Adds elements to this Composite object.

\n", + "linenr": 75, + "return": { + "type": "CompositeElement", + "doc": "

This Composite object.

\n" }, - { - "type": "Object", - "name": "root", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "CompositeElement", - "doc": "

This Composite object.

\n" + "html_filename": "CompositeElementLite.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 75, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-add", - "shortDoc": "

Adds elements to this Composite object.

\n" - }, - { - "tagname": "method", - "name": "clear", - "member": "Ext.CompositeElementLite", - "doc": "

Removes all elements.

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-clear", + "shortDoc": "Removes all elements. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ - ], - "return": { - "type": "void", - "doc": "\n" + ], + "name": "clear", + "owner": "Ext.CompositeElementLite", + "doc": "

Removes all elements.

\n", + "linenr": 246, + "return": { + "type": "void", + "doc": "\n" + }, + "html_filename": "CompositeElementLite.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 246, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-clear", - "shortDoc": "

Removes all elements.

\n" - }, - { - "tagname": "method", - "name": "contains", - "member": "Ext.CompositeElementLite", - "doc": "

Returns true if this composite contains the passed element

\n", - "params": [ - { - "type": "Object", - "name": "el", - "doc": "

{Mixed} The id of an element, or an Ext.core.Element, or an HtmlElement to find within the composite collection.

\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "

Boolean

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-contains", + "shortDoc": "Returns true if this composite contains the passed element ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite-more.js", + "private": false, + "params": [ + { + "type": "Object", + "optional": false, + "doc": "

{Mixed} The id of an element, or an Ext.core.Element, or an HtmlElement to find within the composite collection.

\n", + "name": "el" + } + ], + "name": "contains", + "owner": "Ext.CompositeElementLite", + "doc": "

Returns true if this composite contains the passed element

\n", + "linenr": 35, + "return": { + "type": "void", + "doc": "

Boolean

\n" + }, + "html_filename": "CompositeElementLite-more.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 35, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-contains", - "shortDoc": "

Returns true if this composite contains the passed element

\n" - }, - { - "tagname": "method", - "name": "each", - "member": "Ext.CompositeElementLite", - "doc": "

Calls the passed function for each element in this composite.

\n\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "

The function to call. The function is passed the following parameters:

\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-each", + "shortDoc": "Calls the passed function for each element in this composite. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ + { + "type": "Function", + "optional": false, + "doc": "

The function to call. The function is passed the following parameters:

\n", + "name": "fn" + }, + { + "type": "Object", + "optional": true, + "doc": "

(optional) The scope (this reference) in which the function is executed. (defaults to the Element)

\n", + "name": "scope" + } + ], + "name": "each", + "owner": "Ext.CompositeElementLite", + "doc": "

Calls the passed function for each element in this composite.

\n\n", + "linenr": 145, + "return": { + "type": "CompositeElement", + "doc": "

this

\n" }, - { - "type": "Object", - "name": "scope", - "doc": "

(optional) The scope (this reference) in which the function is executed. (defaults to the Element)

\n", - "optional": true - } - ], - "return": { - "type": "CompositeElement", - "doc": "

this

\n" + "html_filename": "CompositeElementLite.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 145, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-each", - "shortDoc": "

Calls the passed function for each element in this composite.

\n\n" - }, - { - "tagname": "method", - "name": "fill", - "member": "Ext.CompositeElementLite", - "doc": "

Clears this Composite and adds the elements passed.

\n", - "params": [ - { - "type": "Mixed", - "name": "els", - "doc": "

Either an array of DOM elements, or another Composite from which to fill this Composite.

\n", - "optional": false - } - ], - "return": { - "type": "CompositeElement", - "doc": "

this

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-fill", + "shortDoc": "Clears this Composite and adds the elements passed. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ + { + "type": "Mixed", + "optional": false, + "doc": "

Either an array of DOM elements, or another Composite from which to fill this Composite.

\n", + "name": "els" + } + ], + "name": "fill", + "owner": "Ext.CompositeElementLite", + "doc": "

Clears this Composite and adds the elements passed.

\n", + "linenr": 175, + "return": { + "type": "CompositeElement", + "doc": "

this

\n" + }, + "html_filename": "CompositeElementLite.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 175, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-fill", - "shortDoc": "

Clears this Composite and adds the elements passed.

\n" - }, - { - "tagname": "method", - "name": "filter", - "member": "Ext.CompositeElementLite", - "doc": "

Filters this composite to only elements that match the passed selector.

\n", - "params": [ - { - "type": "String/Function", - "name": "selector", - "doc": "

A string CSS selector or a comparison function.\nThe comparison function will be called with the following arguments:

\n", - "optional": false - } - ], - "return": { - "type": "CompositeElement", - "doc": "

this

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-filter", + "shortDoc": "Filters this composite to only elements that match the passed selector. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ + { + "type": "String/Function", + "optional": false, + "doc": "

A string CSS selector or a comparison function.\nThe comparison function will be called with the following arguments:

\n", + "name": "selector" + } + ], + "name": "filter", + "owner": "Ext.CompositeElementLite", + "doc": "

Filters this composite to only elements that match the passed selector.

\n", + "linenr": 187, + "return": { + "type": "CompositeElement", + "doc": "

this

\n" + }, + "html_filename": "CompositeElementLite.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 187, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-filter", - "shortDoc": "

Filters this composite to only elements that match the passed selector.

\n" - }, - { - "tagname": "method", - "name": "first", - "member": "Ext.CompositeElementLite", - "doc": "

Returns the first Element

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-first", + "shortDoc": "Returns the first Element ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite-more.js", + "private": false, + "params": [ - ], - "return": { - "type": "Ext.core.Element", - "doc": "\n" + ], + "name": "first", + "owner": "Ext.CompositeElementLite", + "doc": "

Returns the first Element

\n", + "linenr": 19, + "return": { + "type": "Ext.core.Element", + "doc": "\n" + }, + "html_filename": "CompositeElementLite-more.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 19, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-first", - "shortDoc": "

Returns the first Element

\n" - }, - { - "tagname": "method", - "name": "getCount", - "member": "Ext.CompositeElementLite", - "doc": "

Returns the number of elements in this Composite.

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-getCount", + "shortDoc": "Returns the number of elements in this Composite. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ - ], - "return": { - "type": "void", - "doc": "

Number

\n" + ], + "name": "getCount", + "owner": "Ext.CompositeElementLite", + "doc": "

Returns the number of elements in this Composite.

\n", + "linenr": 68, + "return": { + "type": "void", + "doc": "

Number

\n" + }, + "html_filename": "CompositeElementLite.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 68, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-getCount", - "shortDoc": "

Returns the number of elements in this Composite.

\n" - }, - { - "tagname": "method", - "name": "indexOf", - "member": "Ext.CompositeElementLite", - "doc": "

Find the index of the passed element within the composite collection.

\n", - "params": [ - { - "type": "Object", - "name": "el", - "doc": "

{Mixed} The id of an element, or an Ext.core.Element, or an HtmlElement to find within the composite collection.

\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "

Number The index of the passed Ext.core.Element in the composite collection, or -1 if not found.

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-indexOf", + "shortDoc": "Find the index of the passed element within the composite collection. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ + { + "type": "Object", + "optional": false, + "doc": "

{Mixed} The id of an element, or an Ext.core.Element, or an HtmlElement to find within the composite collection.

\n", + "name": "el" + } + ], + "name": "indexOf", + "owner": "Ext.CompositeElementLite", + "doc": "

Find the index of the passed element within the composite collection.

\n", + "linenr": 214, + "return": { + "type": "void", + "doc": "

Number The index of the passed Ext.core.Element in the composite collection, or -1 if not found.

\n" + }, + "html_filename": "CompositeElementLite.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 214, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-indexOf", - "shortDoc": "

Find the index of the passed element within the composite collection.

\n" - }, - { - "tagname": "method", - "name": "item", - "member": "Ext.CompositeElementLite", - "doc": "

Returns a flyweight Element of the dom element object at the specified index

\n", - "params": [ - { - "type": "Number", - "name": "index", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Ext.core.Element", - "doc": "\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-item", + "shortDoc": "Returns a flyweight Element of the dom element object at the specified index ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ + { + "type": "Number", + "optional": false, + "doc": "\n", + "name": "index" + } + ], + "name": "item", + "owner": "Ext.CompositeElementLite", + "doc": "

Returns a flyweight Element of the dom element object at the specified index

\n", + "linenr": 115, + "return": { + "type": "Ext.core.Element", + "doc": "\n" + }, + "html_filename": "CompositeElementLite.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 115, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-item", - "shortDoc": "

Returns a flyweight Element of the dom element object at the specified index

\n" - }, - { - "tagname": "method", - "name": "last", - "member": "Ext.CompositeElementLite", - "doc": "

Returns the last Element

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-last", + "shortDoc": "Returns the last Element ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite-more.js", + "private": false, + "params": [ - ], - "return": { - "type": "Ext.core.Element", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 27, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-last", - "shortDoc": "

Returns the last Element

\n" - }, - { - "tagname": "method", - "name": "removeElement", - "member": "Ext.CompositeElementLite", - "doc": "

Removes the specified element(s).

\n", - "params": [ - { - "type": "Mixed", - "name": "el", - "doc": "

The id of an element, the Element itself, the index of the element in this composite\nor an array of any of those.

\n", - "optional": false + ], + "name": "last", + "owner": "Ext.CompositeElementLite", + "doc": "

Returns the last Element

\n", + "linenr": 27, + "return": { + "type": "Ext.core.Element", + "doc": "\n" }, - { - "type": "Boolean", - "name": "removeDom", - "doc": "

(optional) True to also remove the element from the document

\n", - "optional": true - } - ], - "return": { - "type": "CompositeElement", - "doc": "

this

\n" + "html_filename": "CompositeElementLite-more.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 44, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-removeElement", - "shortDoc": "

Removes the specified element(s).

\n" - }, - { - "tagname": "method", - "name": "replaceElement", - "member": "Ext.CompositeElementLite", - "doc": "

Replaces the specified element with the passed element.

\n", - "params": [ - { - "type": "Mixed", - "name": "el", - "doc": "

The id of an element, the Element itself, the index of the element in this composite\nto replace.

\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-removeElement", + "shortDoc": "Removes the specified element(s). ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite-more.js", + "private": false, + "params": [ + { + "type": "Mixed", + "optional": false, + "doc": "

The id of an element, the Element itself, the index of the element in this composite\nor an array of any of those.

\n", + "name": "el" + }, + { + "type": "Boolean", + "optional": true, + "doc": "

(optional) True to also remove the element from the document

\n", + "name": "removeDom" + } + ], + "name": "removeElement", + "owner": "Ext.CompositeElementLite", + "doc": "

Removes the specified element(s).

\n", + "linenr": 44, + "return": { + "type": "CompositeElement", + "doc": "

this

\n" }, - { - "type": "Mixed", - "name": "replacement", - "doc": "

The id of an element or the Element itself.

\n", - "optional": false + "html_filename": "CompositeElementLite-more.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-replaceElement", + "shortDoc": "Replaces the specified element with the passed element. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "params": [ + { + "type": "Mixed", + "optional": false, + "doc": "

The id of an element, the Element itself, the index of the element in this composite\nto replace.

\n", + "name": "el" + }, + { + "type": "Mixed", + "optional": false, + "doc": "

The id of an element or the Element itself.

\n", + "name": "replacement" + }, + { + "type": "Boolean", + "optional": false, + "doc": "

(Optional) True to remove and replace the element in the document too.

\n", + "name": "domReplace" + } + ], + "name": "replaceElement", + "owner": "Ext.CompositeElementLite", + "doc": "

Replaces the specified element with the passed element.

\n", + "linenr": 223, + "return": { + "type": "CompositeElement", + "doc": "

this

\n" }, - { - "type": "Boolean", - "name": "domReplace", - "doc": "

(Optional) True to remove and replace the element in the document too.

\n", - "optional": false - } - ], - "return": { - "type": "CompositeElement", - "doc": "

this

\n" + "html_filename": "CompositeElementLite.html" + } + ], + "property": [ + { + "type": "Object", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "CompositeElement2.html#Ext-CompositeElement-property-", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElement.js", + "private": false, + "name": "", + "owner": "Ext.CompositeElement", + "doc": "

Iterates each element in this composite calling the supplied function using Ext.each.

\n", + "linenr": 52, + "html_filename": "CompositeElement2.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 223, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-replaceElement", - "shortDoc": "

Replaces the specified element with the passed element.

\n" - } - ], - "property": [ - { - "tagname": "property", - "name": "", - "member": "Ext.CompositeElement", - "type": "Object", - "doc": "

Iterates each element in this composite calling the supplied function using Ext.each.

\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElement.js", - "linenr": 52, - "html_filename": "CompositeElement2.html", - "href": "CompositeElement2.html#Ext-CompositeElement-property-" - }, - { - "tagname": "property", - "name": "elements", - "member": "Ext.CompositeElementLite", - "type": "Array", - "doc": "

The Array of DOM elements which this CompositeElement encapsulates. Read-only.

\n\n\n

This will not usually be accessed in developers' code, but developers wishing\nto augment the capabilities of the CompositeElementLite class may use it when adding\nmethods to the class.

\n\n\n

For example to add the nextAll method to the class to add all\nfollowing siblings of selected elements, the code would be

\n\n\n

\n\n
Ext.override(Ext.CompositeElementLite, {\n    nextAll: function() {\n        var els = this.elements, i, l = els.length, n, r = [], ri = -1;\n\n//      Loop through all elements in this Composite, accumulating\n//      an Array of all siblings.\n        for (i = 0; i < l; i++) {\n            for (n = els[i].nextSibling; n; n = n.nextSibling) {\n                r[++ri] = n;\n            }\n        }\n\n//      Add all found siblings to this Composite\n        return this.add(r);\n    }\n});
\n\n\n

\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 20, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-property-elements", - "shortDoc": "The Array of DOM elements which this CompositeElement encapsulates. Read-only.\n\n\nThis will not usually be accessed in..." - } - ], - "event": [ + { + "type": "Array", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "property", + "href": "CompositeElementLite.html#Ext-CompositeElementLite-property-elements", + "shortDoc": "The Array of DOM elements which this CompositeElement encapsulates. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js", + "private": false, + "name": "elements", + "owner": "Ext.CompositeElementLite", + "doc": "

The Array of DOM elements which this CompositeElement encapsulates. Read-only.

\n\n\n

This will not usually be accessed in developers' code, but developers wishing\nto augment the capabilities of the CompositeElementLite class may use it when adding\nmethods to the class.

\n\n\n

For example to add the nextAll method to the class to add all\nfollowing siblings of selected elements, the code would be

\n\n\n

\n\n
Ext.override(Ext.CompositeElementLite, {\n    nextAll: function() {\n        var els = this.elements, i, l = els.length, n, r = [], ri = -1;\n\n//      Loop through all elements in this Composite, accumulating\n//      an Array of all siblings.\n        for (i = 0; i < l; i++) {\n            for (n = els[i].nextSibling; n; n = n.nextSibling) {\n                r[++ri] = n;\n            }\n        }\n\n//      Add all found siblings to this Composite\n        return this.add(r);\n    }\n});
\n\n\n

\n", + "linenr": 20, + "html_filename": "CompositeElementLite.html" + } + ], + "cssVar": [ - ], - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElement.js", - "linenr": 1, - "html_filename": "CompositeElement2.html", - "href": "CompositeElement2.html#Ext-CompositeElement", - "cssVar": [ + ], + "cssMixin": [ - ], - "cssMixin": [ + ], + "event": [ - ], - "component": false, + ] + }, + "singleton": false, + "alias": null, "superclasses": [ "Ext.CompositeElementLite" ], + "protected": false, + "tagname": "class", + "mixins": [ + + ], + "href": "CompositeElement2.html#Ext-CompositeElement", "subclasses": [ ], + "static": false, + "author": null, + "component": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElement.js", + "private": false, + "alternateClassNames": [ + + ], + "name": "Ext.CompositeElement", + "doc": "

This class encapsulates a collection of DOM elements, providing methods to filter\nmembers, or to perform collective actions upon the whole set.

\n\n\n

Although they are not listed, this class supports all of the methods of Ext.core.Element and\nExt.fx.Anim. The methods from these classes will be performed on all the elements in this collection.

\n\n\n

All methods return this and can be chained.

\n\n\n

Usage:

\n\n
var els = Ext.select(\"#some-el div.some-class\", true);\n// or select directly from an existing element\nvar el = Ext.get('some-el');\nel.select('div.some-class', true);\n\nels.setWidth(100); // all elements become 100 width\nels.hide(true); // all elements fade out and hide\n// or\nels.setWidth(100).hide(true);\n
\n\n", "mixedInto": [ ], - "allMixins": [ + "linenr": 1, + "xtypes": [ - ] + ], + "html_filename": "CompositeElement2.html", + "extends": "Ext.CompositeElementLite" }); \ No newline at end of file