culturecode/easy_menu — Issue #4: Find a good way to pass options for each element
Author: njakobsen
Created: 2012-02-02 00:04:22+00:00
State: open

I want to call mb.menu('menu title', :id => 'my_menu', :menu_bar_item => {:id => 'my_menu_trigger'})

The rule here would be, any html options passed go to the element that you are explicitly creating with the method call. In this case the menu gets the non-namespaced options, and the menu_bar_item that goes along with it gets the namespaced items.