File

src/core/smart-loading.screen.component.ts

Description

A component used internally to set up the application routes when a deep link is used. It enables deep link support and prevents 404 errors.

Implements

OnInit

Example

Metadata

selector smart-loading-screen
template
<div *ngIf="appLoading" class="jumbotron">		<h1>SmartComponent App initializing...</h1>
	</div>

Index

Properties
Methods

Constructor

constructor(serviceAdapter: SmartServiceAdapter, route: ActivatedRoute, smartConfig: SmartConfig, navigService: SmartNavigationService, smartHttp: SmartHttpService, injector: Injector)
Parameters :
Name Type Optional
serviceAdapter SmartServiceAdapter No
route ActivatedRoute No
smartConfig SmartConfig No
navigService SmartNavigationService No
smartHttp SmartHttpService No
injector Injector No

Methods

Async configureRouter
configureRouter()
Returns : {}
fallbackToLogin
fallbackToLogin()
Returns : void
getAppRoutes
getAppRoutes()
Returns : Promise<Route[]>

Promise<Route[]>

refresh
refresh(route)
Parameters :
Name Optional Default value
route No this.url
Returns : any
refreshMdi
refreshMdi()
Returns : void
Public setLoginRoute
setLoginRoute()
Returns : void

Properties

appLoading
Default value : false
url
Type : string
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""