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