openMenu
fires on expanding a menu item
openMenu: (id: string | number) => void;
Parameters:
id: string | number
- the ID of an opened menu item
Example
menu.events.on("openMenu", function(id){
// your code here
});
Related sample: Menu. Events