Opened 9 years ago

Closed 9 years ago

#16560 closed enhancement (worksforme)

Allow for single item click handler for Menus

Reported by: Mark DeMichele Owned by: bill
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:


There should be a way to attach a single event handler to any menu or menubar such that any itemClick for any children, grand-children, etc, will funnel up to the top.

This way an app can listen just to the menu and handling any clicks based on that. Submenus along the way should be able to stop the propagation if needed.

Change History (1)

comment:1 Changed 9 years ago by bill

Resolution: worksforme
Status: newclosed

That's supported already via Menu._onItemClick().

Note: See TracTickets for help on using tickets.