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.

27 lines (26 loc) 952 B
import { QuestionNonValue } from "./questionnonvalue"; import { LocalizableString } from "./localizablestring"; /** * A class that describes the HTML question type. Unlike other question types, HTML cannot have a title or value. * * [View Demo](https://surveyjs.io/form-library/examples/questiontype-html/ (linkStyle)) */ export declare class QuestionHtmlModel extends QuestionNonValue { ignoreHtmlProgressing: boolean; constructor(name: string); getType(): string; get isCompositeQuestion(): boolean; getProcessedText(text: string): string; /** * HTML markup to display. * * > IMPORTANT: If you get the markup from a third party, ensure that it does not contain malicious code. */ get html(): string; set html(val: string); get locHtml(): LocalizableString; get processedHtml(): string; private processHtml; get isNewA11yStructure(): boolean; get renderCssRoot(): string; }