source:
trunk/workshop-routing-foss4g/web/ext/src/core/Element.traversal-more.js
@
76
Revision 76, 734 bytes checked in by djay, 12 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | /*! |
2 | * Ext JS Library 3.4.0 |
3 | * Copyright(c) 2006-2011 Sencha Inc. |
4 | * licensing@sencha.com |
5 | * http://www.sencha.com/license |
6 | */ |
7 | /** |
8 | * @class Ext.Element |
9 | */ |
10 | Ext.Element.addMethods({ |
11 | /** |
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 |
16 | */ |
17 | select : function(selector, unique){ |
18 | return Ext.Element.select(selector, unique, this.dom); |
19 | } |
20 | }); |
Note: See TracBrowser
for help on using the repository browser.