UNPKG

ngx-currency-mask

Version:

A very simple currency mask directive that allows using a number attribute with the ngModel.

19 lines (18 loc) 695 B
export declare class InputHandler { private inputService; private onModelChange; private onModelTouched; constructor(htmlInputElement: HTMLInputElement, options: any); handleCut(event: any): void; handleInput(event: any, isGalaxy: boolean): void; handleKeydown(event: any): void; handleKeypress(event: any): void; handlePaste(event: any): void; updateOptions(options: any): void; getOnModelChange(): Function; setOnModelChange(callbackFunction: Function): void; getOnModelTouched(): Function; setOnModelTouched(callbackFunction: Function): void; setValue(value: number): void; private setCursorPosition(event); }