UNPKG

ngx-currency-mask

Version:

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

13 lines (12 loc) 355 B
import { InjectionToken } from "@angular/core"; export interface CurrencyMaskConfig { align: string; allowNegative: boolean; allowZero: boolean; decimal: string; precision: number; prefix: string; suffix: string; thousands: string; } export declare let CURRENCY_MASK_CONFIG: InjectionToken<CurrencyMaskConfig>;