Initializes a module manager with the specified application.
Adds a module to the application.
The specified module must either be an instance of a class that implements the
IMapSourceModule
interface or a loader function that loads and initializes the module
on-demand.
Adds a module group to the application.
Returns whether the listeners are registered for the specified event name.
Adds a module to the application and inserts its control at the specified index.
The specified module must either be an instance of a class that implements the
IMapSourceModule
interface or a loader function that loads and initializes the module
on-demand.
Removes a registered listener function for the specified event.
Name of the event to remove the listener for.
Handler function to remove so it won't be executed next time the event is triggered.
Registers a listener function to be executed each time an event occurs
Name of the event to listen for. Value can contain multiple event names separated by spaces to trigger the same handler function for each event name.
Handler function to be called when the event occurs
Registers a listener function to be executed the first time an event occurs.
Name of the event to listen for. Value can contain multiple event names separated by spaces to trigger the same handler function for each event name.
Handler function to be called when the event occurs
Removes a module from the application.
Triggers the specified event so that all registered listeners will be executed with the specified parameters.
Event name to trigger
Generated using TypeDoc
A module manager is responsible for managing a series of modules associated with an application.