UNPKG

angular-l10n

Version:

Angular library to translate texts, dates and numbers

13 lines (12 loc) 807 B
import { L10nDirective } from '../models/l10n-directive'; import { L10nIntlService } from '../services/l10n-intl.service'; import * as i0 from "@angular/core"; export declare class L10nDisplayNamesDirective extends L10nDirective { protected intl: L10nIntlService; set l10nDisplayNames(options: Intl.DisplayNamesOptions | ''); options: Intl.DisplayNamesOptions; constructor(intl: L10nIntlService); protected getValue(text: string): string; static ɵfac: i0.ɵɵFactoryDeclaration<L10nDisplayNamesDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<L10nDisplayNamesDirective, "[l10nDisplayNames]", never, { "l10nDisplayNames": { "alias": "l10nDisplayNames"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>; }