src/core/services/smart-loading-screen.service.ts
Properties |
|
Methods |
|
constructor(serviceAdapter: SmartServiceAdapter, route: ActivatedRoute, smartConfig: SmartConfig, navigService: SmartNavigationService, smartHttp: SmartHttpService, errorHandler: SmartErrorHandlerService, dialogService: SmartDialogService, router: Router)
|
|||||||||||||||||||||||||||
|
Parameters :
|
| Public Async configureRouter |
configureRouter()
|
|
Configures the router with additional routes that are fetched from the backend.
Returns :
unknown
|
| Public fallbackToLogin |
fallbackToLogin()
|
|
Returns :
void
|
| Public Async getAppRoutes |
getAppRoutes()
|
|
Fetches NG Routes configuration from the backend
Returns :
Promise<Route[]>
{Promise<Route[]>} |
| Public Async initWithInjector | ||||||||
initWithInjector(injector: Injector)
|
||||||||
|
Initializes the service with an injector instance.
Parameters :
Returns :
any
|
| Public refresh | ||||||||
refresh(route: unknown)
|
||||||||
|
Refreshes the current route when in SDI
Parameters :
Returns :
any
|
| Public refreshMdi |
refreshMdi()
|
|
Refreshes the current route when in MDI
Returns :
void
|
| Public setLoginRoute |
setLoginRoute()
|
|
Adds the built-in login route to the router config.
Returns :
void
|
| Public appLoading |
Type : unknown
|
Default value : false
|