@douglas-serena/ng-inputs
Version:
angular entry library
15 lines (14 loc) • 535 B
TypeScript
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 {};