UNPKG

survey-core

Version:

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.

21 lines (20 loc) 649 B
export declare var numberDefinition: RegExp; export interface IMaskedInputResult { value: string; caretPosition: number; cancelPreventDefault?: boolean; } export interface ITextInputParams { prevValue: string; selectionStart: number; selectionEnd: number; insertedChars: string | null; inputDirection?: "forward" | "backward"; } export interface IInputMask { getMaskedValue(src: any): string; getUnmaskedValue(src: string): any; processInput(args: ITextInputParams): IMaskedInputResult; getTextAlignment(): "left" | "right" | "auto"; } export declare function getAvailableMaskTypeChoices(): string[];