Hiding subcategories

Is there an event that I could listen for to build the menu? Possibly some sort of message from widget factory that the menu is done being built so I can modify it without fighting with the build process?


I think I got it figured out.

search.on(‘render’, function(){ //stuff }) seems to be working.