UNPKG

@douglas-serena/ng-inputs

Version:
15 lines (14 loc) 535 B
import { DatePipe } from '@angular/common'; import { NgInputConfigService } from './ng-input-config.service'; export declare class NgInputMasksService { private configService; private datePipe; constructor(configService: NgInputConfigService, datePipe: DatePipe); format(value: string | number, masksType?: string, options?: IOptions): any; set(element: HTMLInputElement, masksType: string, options?: IOptions): any; } interface IOptions { allowNegative?: boolean; mask?: string; } export {};