ng-materialgrammi
Version:
An Angular framework which follows
38 lines (37 loc) • 1.36 kB
TypeScript
import { EventEmitter, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms';
import { InputStyle, Theme } from '../../types';
import * as i0 from "@angular/core";
export declare class InputComponent implements OnInit {
theme: Theme;
form: InputStyle;
placeholder: string;
control: FormControl;
type: string;
dark: boolean;
class: string;
data: EventEmitter<FormControl>;
isFocused: EventEmitter<any>;
keyup: EventEmitter<any>;
value: string;
rounded: boolean;
filled: boolean;
info: {
type: string;
msg: string;
};
private inputElem;
active: boolean;
focused: boolean;
input_placeholder: string;
constructor();
ngOnInit(): void;
onFocusIn(): void;
onFocusOut(): void;
onKeyUp(event: any): void;
mainClasses(): string;
labelClick(): void;
infoClasses(): string;
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "mg-input", never, { "theme": "theme"; "form": "form"; "placeholder": "placeholder"; "control": "control"; "type": "type"; "dark": "dark"; "class": "class"; "value": "value"; "rounded": "rounded"; "filled": "filled"; "info": "info"; }, { "data": "data"; "isFocused": "isFocused"; "keyup": "keyup"; }, never, ["*"]>;
}