App()
Creates App instance
Initialize is called first and it loads application helpers, sets application basic data, and finally loads eventual subFiles from configuration, instantiate their classes and (await) call initialize methods on all classes that contain that method.
Finalize is called once both backend and frontend app have been initialized, and it has complete app structure and appState at its disposal. It will also automatically (await) call 'finalize' method on all sub classes that have it. Shutdown is called before application window is closed or unloaded and should perform all necessary cleanup operations, remove any event listeners and free any remaining references left over from application usage. This method will also (await) call 'shutdown' method on any sub classes that have that method.Name | Type | Description |
---|---|---|
moduleName | string | Name of module to require |
Name | Type | Description |
---|---|---|
menuItem | Object | Menuitem that triggered the handler |