survey-creator-core
Version:
A framework-independent core package of the SurveyJS Survey Creator component. With Survey Creator, you can visually design complex, interactive JSON forms and surveys in a drag-and-drop interface.
9 lines (8 loc) • 645 B
TypeScript
import { ItemValue, Question, SurveyElement } from "survey-core";
export declare function getNextItemValue(prefix: string, choices: ItemValue[]): string | number;
export declare function getNextItemText(choices: ItemValue[]): string;
export declare function getNextValue(prefix: string, values: any[], isText?: boolean): string | number;
export declare function getQuestionFromObj(obj: SurveyElement): Question;
export declare function scrollElementIntoView(elementId: string): void;
export declare function assignDefaultClasses(destination: any, questionType: string): void;
export declare function wrapTextByCurlyBraces(text: string): string;