File

src/core/smart-navigation.service.ts

Description

A service that handles navigation within the context of a SmartComponent Library app.

Example

Index

Properties
Methods

Constructor

constructor(router: Router, serviceAdapter: SmartServiceAdapter, mdiRegistry: SmartMdiRegistryService, kendoWindowService: WindowService, smartConfig: SmartConfig)
Parameters :
Name Type Optional
router Router No
serviceAdapter SmartServiceAdapter No
mdiRegistry SmartMdiRegistryService No
kendoWindowService WindowService No
smartConfig SmartConfig No

Methods

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 :
Name Type Optional Default value
url string No
options NavigationOptions No {}
Returns : WindowRef | void

Properties

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.

result-matching ""

    No results matching ""