@taiga-ui/addon-doc
Version:
Taiga UI based library for developing documentation portals for Angular libraries.
16 lines (15 loc) • 869 B
TypeScript
import { FormControl } from '@angular/forms';
import type { TuiCountryIsoCode, TuiLanguageName } from '@taiga-ui/i18n/types';
import { TuiLanguageSwitcherService } from '@taiga-ui/i18n/utils';
import * as i0 from "@angular/core";
export declare class TuiDocLanguageSwitcher {
protected readonly icons: import("@taiga-ui/addon-doc/tokens").TuiDocIcons;
protected readonly switcher: TuiLanguageSwitcherService;
protected readonly language: FormControl<string | null>;
protected open: boolean;
readonly flags: Map<TuiLanguageName, TuiCountryIsoCode>;
readonly names: TuiLanguageName[];
setLang(lang: TuiLanguageName): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocLanguageSwitcher, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocLanguageSwitcher, "tui-doc-language-switcher", never, {}, {}, never, never, true, never>;
}