| * Menu to choose from for tree views. |
| define(['menu', 'match/treeitem'], function (menuClass, itemClass) { |
| * Create new menu object. |
| * Pass the match information object |
| * and the item parameters. |
| * @param info The match info object |
| * @param params The match menu items |
| create : function (info, params) { |
| var obj = Object.create(menuClass) |
| ._init(params, {itemClass : itemClass}); |
| // This is only domspecific |
| obj.element().addEventListener('blur', function (e) { |
| * The match information object of the menu. |