UNPKG

@maskito/kit

Version:

The optional framework-agnostic Maskito's package with ready-to-use masks

14 lines 561 B
import type { MaskitoPostprocessor } from '@maskito/core'; /** * Make textfield empty if there is no integer part and all decimal digits are zeroes. * @example 0|,00 => Backspace => Empty. * @example -0|,00 => Backspace => -. * @example ,42| => Backspace x2 => ,|00 => Backspace => Empty */ export declare function emptyPostprocessor({ prefix, postfix, decimalSeparator, minusSign, }: { prefix: string; postfix: string; decimalSeparator: string; minusSign: string; }): MaskitoPostprocessor; //# sourceMappingURL=empty-postprocessor.d.ts.map