UNPKG

@taiga-ui/kit

Version:
24 lines (23 loc) 1.08 kB
import { ChangeDetectorRef } from '@angular/core'; import { NgControl } from '@angular/forms'; import { AbstractTuiControl, TuiFocusableElementAccessor } from '@taiga-ui/cdk'; import { TuiDataListHost, TuiHorizontalDirection } from '@taiga-ui/core'; import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus'; export declare class TuiInputComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> { icon: string | null; iconAlign: TuiHorizontalDirection; open: boolean; readonly datalist: PolymorpheusContent; private readonly hostedDropdown?; private readonly textfield?; constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef); get nativeFocusableElement(): HTMLInputElement | null; get focused(): boolean; get canOpen(): boolean; onValueChange(value: string): void; onHovered(hovered: boolean): void; onActiveZone(active: boolean): void; handleOption(item: unknown): void; protected getFallbackValue(): string; private focusInput; }