@kelvininc/ui-components
Version:
Kelvin UI Components
6 lines (5 loc) • 494 B
TypeScript
import { EInputFieldType, IInputMaskInstanceRef } from './text-field.types';
export declare function getInputMaskConfig(type: EInputFieldType): Inputmask.Options;
export declare function isInputMaskCompatibleType(type: EInputFieldType): boolean;
export declare function buildInputMask(input: HTMLInputElement, inputType: EInputFieldType, options: Inputmask.Options, maxLength?: number): IInputMaskInstanceRef;
export declare function getValueAsString(newValue: string | number | null): string;