public class | source

Answer

A class for Answer

Constructor Summary

Public Constructor
public

constructor(model: object, group: HeadGroup | null)

Create instance.

Member Summary

Public Members
public get

backgroundColor: string

Answer background color.

source
public get

code: string

Answer code.

source
public get

fieldName: string

Field name.

source
public get

group: HeadGroup

Reference to a group, if the answer is inside one.

source
public get

imagesSettings: AnswerImagesSettings

Answer images settings

source
public get

isExclusive: boolean

Is exclusive answer.

source
public get

isOther: boolean

Is other answer.

source
public get

otherFieldName: string

Other field name.

source
public get

rightText: string

Answer right text

source
public get

score: string

Answer score.

source
public get

styleName: string

Custom CSS style class names.

source
public get

text: string

Answer text.

source

Public Constructors

public constructor(model: object, group: HeadGroup | null) source

Create instance.

Params:

NameTypeAttributeDescription
model object

The instance of the model.

group HeadGroup | null

Reference to a group, if the answer is inside one.

Public Members

public get backgroundColor: string source

Answer background color.

public get code: string source

Answer code.

public get fieldName: string source

Field name.

public get group: HeadGroup source

Reference to a group, if the answer is inside one.

public get imagesSettings: AnswerImagesSettings source

Answer images settings

public get isExclusive: boolean source

Is exclusive answer.

public get isOther: boolean source

Is other answer.

public get otherFieldName: string source

Other field name.

public get rightText: string source

Answer right text

public get score: string source

Answer score.

public get styleName: string source

Custom CSS style class names.

public get text: string source

Answer text.