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:
| Name | Type | Attribute | Description |
| model | object | The instance of the model. |
|
| group | HeadGroup | null | Reference to a group, if the answer is inside one. |
