<html>\r
<head>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
<title>The source code</title>\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
</head>\r
<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js">/**\r
+ <pre class="prettyprint lang-js"><div id="cls-Ext.CompositeElementLite"></div>/**\r
* @class Ext.CompositeElementLite\r
*/\r
Ext.apply(Ext.CompositeElementLite.prototype, { \r
return this;\r
},\r
\r
- <div id="method-Ext.CompositeElementLite-fill"></div>/**\r
- * Clears this composite and adds the elements returned by the passed selector.\r
- * @param {String/Array} els A string CSS selector, an array of elements or an element\r
- * @return {CompositeElement} this\r
- */\r
- fill : function(els){\r
- this.elements = [];\r
- this.add(els);\r
- return this;\r
- },\r
- \r
<div id="method-Ext.CompositeElementLite-first"></div>/**\r
* Returns the first Element\r
* @return {Ext.Element}\r
*/\r
contains : function(el){\r
return this.indexOf(el) != -1;\r
- },\r
-\r
- <div id="method-Ext.CompositeElementLite-filter"></div>/**\r
- * Filters this composite to only elements that match the passed selector.\r
- * @param {String} selector A string CSS selector\r
- * @return {CompositeElement} this\r
- */\r
- filter : function(selector){\r
- var els = [];\r
- this.each(function(el){\r
- if(el.is(selector)){\r
- els[els.length] = el.dom;\r
- }\r
- });\r
- this.fill(els);\r
- return this;\r
},
<div id="method-Ext.CompositeElementLite-removeElement"></div>/**\r