afterHide
fires after hiding a sub-item of Sidebar
afterHide: (events: Event) => void;
Parameters:
events: Event
- a native event object
Example
sidebar.events.on("afterHide", function(event){
// your code here
});
Related sample: Sidebar. Events