@universal-material/angular
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.1.0.
29 lines (28 loc) • 1.34 kB
TypeScript
import { ElementRef } from '@angular/core';
import { NgControl } from '@angular/forms';
import { FormFieldComponent } from '../form-field/form-field.component';
import * as i0 from "@angular/core";
export declare abstract class TextInputBase {
readonly ngControl: NgControl | null;
protected readonly _elementRef: ElementRef;
focused: boolean;
get disabled(): boolean;
set disabled(value: boolean);
protected _disabled: boolean;
static ngAcceptInputType_disabled: boolean | '';
/** Whether the element is readonly. */
get readonly(): boolean;
set readonly(value: boolean);
private _readonly;
get empty(): boolean;
_blur: () => void;
_focus: () => void;
get _disabledAttribute(): true | null;
protected constructor(ngControl: NgControl | null, formField: FormFieldComponent | null, _elementRef: ElementRef);
focus(): void;
/** Callback for the cases where the focused state of the input changes. */
_focusChanged(focused: boolean): void;
mouseDown(e: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputBase, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TextInputBase, never, never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, {}, never, never, false, never>;
}