src/core/smart-view-manager.service.ts
A service used for initializing views. It's main purpose is handling title management for the browser window and SmartTabs.
Properties |
Methods |
Accessors |
constructor(dataSourceRegistry: DataSourceRegistry, router: Router, route: ActivatedRoute, smartWindowTitle: SmartWindowTitleService, smartConfig: SmartConfig)
|
||||||||||||||||||
Parameters :
|
getBreadcrumbLabel | ||||||
getBreadcrumbLabel(route: ActivatedRouteSnapshot)
|
||||||
Compiles and returns the label that a breadcrumb associated with the given route should display.
Parameters :
Returns :
string
|
initializeCurrentView | |||||||||
initializeCurrentView(route: any, controllerInstance: SmartFormComponent)
|
|||||||||
Initializes the provided route's current view by compiling it's browser title template and setting the browser window title. If necessary, will also set up listeners on any data source's included in the template so that the browser title is updated when their selection changes.
Parameters :
Returns :
void
|
initializeTabView | ||||||||||||||||||||
initializeTabView(tab: SmartTab, injector: Injector, refreshTitle)
|
||||||||||||||||||||
Initializes the given SmartTab by compiling it's title template and setting up any listeners that may be necessary for keeping it up to date.
Parameters :
Returns :
void
|
formParams |
Type : BehaviorSubject<FormParams>
|
Default value : new BehaviorSubject<FormParams>(
null
)
|
currentViewInUpdateMode |
getcurrentViewInUpdateMode()
|
Returns :
EventEmitter<boolean>
|