core/header/title/title.component.ts
AfterViewInit
OnDestroy
| selector | c8y-title |
| standalone | true |
| templateUrl | ./title.component.html |
Properties |
Methods |
Inputs |
constructor(headerService: HeaderService)
|
||||||
|
Parameters :
|
| pageTitleUpdate |
Type : boolean
|
Default value : true
|
|
Whether to update the browser's page title with the content of the title. |
| ngAfterViewInit |
ngAfterViewInit()
|
|
Returns :
void
|
| ngOnDestroy |
ngOnDestroy()
|
|
Returns :
void
|
| template |
Decorators :
@ViewChild('template', {static: true})
|
|
The title template to be displayed in the header. |
<ng-template #template>
<h1 class="text-truncate">
<ng-content></ng-content>
</h1>
</ng-template>