UNPKG

@teenageinterface/input

Version:

The `Input` component is a customizable input field for various types of data in your Angular application. It supports different input types, including text, password, email, and file inputs, and emits events on value changes and when the enter key is pre

21 lines (20 loc) 1.15 kB
import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare class InputComponent { id: string | null; disabled: boolean; serverError: boolean; _value: string; set value(val: string); get value(): string; placeholder: string; required: boolean; type: "text" | "password" | "email" | "file" | "bigFile"; private patternEmail; valueChange: EventEmitter<string>; onEnter: EventEmitter<string>; get pattern(): string; enter(): void; static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "tiInput", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "serverError": { "alias": "serverError"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "valueChange": "valueChange"; "onEnter": "onEnter"; }, never, never, true, never>; }