UNPKG

ngx-numaric-keypad

Version:

This is a two in one features keypad, you can use this as calculator also by just enabling that feature.

19 lines (18 loc) 510 B
import { OnInit, EventEmitter } from '@angular/core'; export declare class KeypadComponent implements OnInit { calc: boolean; getVal: EventEmitter<any>; currentNumber: string; firstOperand: any; operator: any; waitForSecondNumber: boolean; equalSign: boolean; constructor(); ngOnInit(): void; getNumber(v: string): void; backSpace(): void; getDecimal(): void; private doCalculation; getOperation(op: string): void; clear(): void; }