Skip to main content

ModuleEvents

type ModuleEvents = {
module.close: ModuleCloseListener;
module.unloading: ModuleUnLoadingListener;
};

events that notifies the module's lifecycle

Properties

module.close

module.close: ModuleCloseListener;

event fired when the module to be closed

Use ModuleCloseListener to handle this event


module.unloading

module.unloading: ModuleUnLoadingListener;

event fired when the module is unloading

Use ModuleUnLoadingListener to handle this event