survey-creator-core
Version:
Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.
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;