src/core/smart-navigation.service.ts
A service that handles navigation within the context of a SmartComponent Library app.
Properties |
Methods |
|
constructor(router: Router, serviceAdapter: SmartServiceAdapter, mdiRegistry: SmartMdiRegistryService, kendoWindowService: WindowService, smartConfig: SmartConfig)
|
||||||||||||||||||
|
Parameters :
|
| Public clearWindowForms |
clearWindowForms()
|
|
Closes all forms that are open in a window
Returns :
void
|
| navigate | ||||||||||||
navigate(url: string, options: NavigationOptions)
|
||||||||||||
|
Navigates within the context of the SmartComponent Library app. If a MDI interface is used, it will pass on navigation instructions to the SmartMDIComponent. If not, it will trigger Router navigation.
Parameters :
Returns :
WindowRef | void
|
| navigationEnd |
Type : EventEmitter<SmartNavigationEvent>
|
Default value : new EventEmitter<
SmartNavigationEvent
>()
|
|
Fired after a successfull navigation |
| navigationStart |
Type : EventEmitter<SmartNavigationEvent>
|
Default value : new EventEmitter<
SmartNavigationEvent
>()
|
|
Fired before navigation is attempted. |