aachyee / google-desktop-sdk

Automatically exported from code.google.com/p/google-desktop-sdk
0 stars 0 forks source link

Feature Request: expanding API with view.getElementByName/Id or/and element.getAllChildren #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The first should find a child of a view (not only direct one) by it's name.

The second should return all children of element including not direct ones 
(grandchildren etc.).

Especially the first one would be helpful.

Original issue reported on code.google.com by fat.bold.cyclop@gmail.com on 29 Dec 2008 at 4:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
You can implement view.getElementByName() look like this:

view.getElementByName = function( strName ) {
  var element = eval( strName );
  return element;
}

Original comment by taka2...@gmail.com on 12 Nov 2009 at 12:19