The module service also announces several events or interception points as you saw from the life cycle diagrams. Below are the events announced:
Fired before a module is about to be activated.
Data:
moduleLocation - The location of the loaded module
moduleLocation
moduleName - The name of the module
moduleName
Fired after a module has been successfully activated
moduleConfig - The module configuration structure
moduleConfig
Fired before a module is about to be unloaded
Fired after a module has been unloaded
Last updated 7 years ago
Was this helpful?