core/common/inter-app.service.ts
Service that provides methods to interact with other applications. It allows retrieving a specific app by key, checking its availability, verifying if it is not the current application, determining if a link to another app should be shown, and navigating to it.
Methods |
getApp$ | ||||||||
getApp$(key: T)
|
||||||||
Retrieve application by its key as observable.
Parameters :
Returns :
Observable<IApplication | undefined>
Observable of Application |
Async navigateToApp | ||||||||||||
navigateToApp(appKey: T, path?: string)
|
||||||||||||
Navigates to app by provided app key
Parameters :
Returns :
any
|
shouldShowAppLink$ | ||||||||
shouldShowAppLink$(appKey: T)
|
||||||||
Checks if other (other than current) application link should be displayed. It consists of two conditions:
Parameters :
Returns :
Observable<boolean>
Observable of boolean; only true when app that link leads to is available and app link leads to app that is not current app |