3 * Copyright(c) 2006-2010 Ext JS, Inc.
5 * http://www.extjs.com/license
10 Ext.Element.addMethods({
12 * Creates a {@link Ext.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).
13 * @param {String} selector The CSS selector
14 * @param {Boolean} unique (optional) True to create a unique Ext.Element for each child (defaults to false, which creates a single shared flyweight object)
15 * @return {CompositeElement/CompositeElementLite} The composite element
17 select : function(selector, unique){
18 return Ext.Element.select(selector, unique, this.dom);