Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / docs / source / Element.traversal-more.html
diff --git a/docs/source/Element.traversal-more.html b/docs/source/Element.traversal-more.html
new file mode 100644 (file)
index 0000000..1482497
--- /dev/null
@@ -0,0 +1,24 @@
+<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
+ * @class Ext.Element\r
+ */\r
+Ext.Element.addMethods({\r
+    <div id="method-Ext.Element-select"></div>/**\r
+     * Creates a {@link Ext.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).\r
+     * @param {String} selector The CSS selector\r
+     * @param {Boolean} unique (optional) True to create a unique Ext.Element for each child (defaults to false, which creates a single shared flyweight object)\r
+     * @return {CompositeElement/CompositeElementLite} The composite element\r
+     */\r
+    select : function(selector, unique){\r
+        return Ext.Element.select(selector, unique, this.dom);\r
+    }\r
+});</pre>    \r
+</body>\r
+</html>
\ No newline at end of file