@edugouvfr/ngx-dsfr
Version:
NgxDsfr est un portage Angular des éléments d'interface du Système de Design de l'État Français (DSFR).
18 lines (17 loc) • 704 B
TypeScript
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
import { Subscription } from 'rxjs';
import { DsfrI18nService } from './i18n.service';
import * as i0 from "@angular/core";
export declare class DsfrI18nPipe implements PipeTransform, OnDestroy {
private i18nService;
private cdr;
value: string;
lastKey: string | null;
langChangeSub$: Subscription | null;
constructor(i18nService: DsfrI18nService, cdr: ChangeDetectorRef);
transform(jsonPath: string): string;
ngOnDestroy(): void;
private dispose;
static ɵfac: i0.ɵɵFactoryDeclaration<DsfrI18nPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<DsfrI18nPipe, "dsfrI18n", true>;
}