Skip to main content

openMenu

fires on expanding a menu item

openMenu: (id: Id) => 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