@singleton-i18n/angular-client
Version:
Singleton client code for Angular 10.
17 lines (16 loc) • 577 B
TypeScript
import { ElementRef, AfterViewInit, OnDestroy } from '@angular/core';
import { L10nService } from './services/l10n.service';
export declare class L10nDirective implements AfterViewInit, OnDestroy {
private el;
private l10nService;
l10n: string;
source: string;
comment: string;
params: string[];
private onTranslationChange;
constructor(el: ElementRef, l10nService: L10nService);
ngAfterViewInit(): void;
updateValue(key: string, source: string, args: string[], locale?: string): void;
getMessage(): void;
ngOnDestroy(): void;
}