UNPKG

@ng-doc/ui-kit

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

22 lines (21 loc) 901 B
import { ElementRef } from '@angular/core'; import { DIControl } from 'di-controls'; import { DIControlConfig } from 'di-controls/controls/control'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare abstract class NgDocBaseInput<T> extends DIControl<T> { readonly elementRef: ElementRef<HTMLInputElement>; readonly changes: Subject<void>; protected readonly document: Document; protected constructor(config?: DIControlConfig<T, T>); get hostClasses(): string; get placeholder(): string; get isFocused(): boolean; get isReadonly(): boolean; get value(): string; focus(): void; blink(): void; updateModel(value: T | null): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgDocBaseInput<any>, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocBaseInput<any>, never, never, {}, {}, never, never, true, never>; }