@alfresco/adf-core
Version:
23 lines (22 loc) • 836 B
TypeScript
import { Title } from '@angular/platform-browser';
import { AppConfigService } from '../../app-config/app-config.service';
import { TranslationService } from '../../translation/translation.service';
import * as i0 from "@angular/core";
export declare class PageTitleService {
private titleService;
private appConfig;
private translationService;
private originalTitle;
private translatedTitle;
constructor(titleService: Title, appConfig: AppConfigService, translationService: TranslationService);
/**
* Sets the page title.
*
* @param value The new title
*/
setTitle(value?: string): void;
private onLanguageChanged;
private updateTitle;
static ɵfac: i0.ɵɵFactoryDeclaration<PageTitleService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PageTitleService>;
}