UNPKG

@experteam-mx/ngx-input-number

Version:

Angular input number for Experteam apps

41 lines (40 loc) 2.1 kB
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { NgxInputNumberService } from './ngx-input-number.service'; import { IMaskDirective } from 'angular-imask'; import { MaskedNumber } from 'imask'; import * as i0 from "@angular/core"; export declare class NgxInputNumberComponent implements OnInit, OnChanges, AfterViewInit { private _ChangeDetectorRef; private _NgxInputNumberService; inputElement: ElementRef; iMaskDir: IMaskDirective<MaskedNumber>; control: FormControl; negative: any; autofocus: any; decimals: any; max: any; idForLabel: any; tabIndex: any; addClass: any; groupSeparator: any; radixPoint: any; lblKeyInvalid: any; lblKeyInvalidRender: any; imask: any; placeholder: string; resetControl: boolean; prevValue: any; validateError: boolean; constructor(_ChangeDetectorRef: ChangeDetectorRef, _NgxInputNumberService: NgxInputNumberService); ngAfterViewInit(): void; render(): void; ngOnInit(): void; ngOnChanges(): void; onKeydown(e: any): void; onBlur(): void; onFocus(): void; onKeyup(e: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxInputNumberComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgxInputNumberComponent, "app-input-number", never, { "control": { "alias": "control"; "required": false; }; "negative": { "alias": "negative"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "max": { "alias": "max"; "required": false; }; "idForLabel": { "alias": "idForLabel"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "addClass": { "alias": "addClass"; "required": false; }; "groupSeparator": { "alias": "groupSeparator"; "required": false; }; "radixPoint": { "alias": "radixPoint"; "required": false; }; "lblKeyInvalid": { "alias": "lblKeyInvalid"; "required": false; }; }, {}, never, never, false, never>; }