Interface: Choice
Defined in: areas/surveys/choice.ts:17
A choice activity as the person sees it (getChoice).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
answer | string[] | The options chosen, as the page names them, also where the form is gone. | areas/surveys/choice.ts:31 |
canAnswer | boolean | The form is there: the choice is open and the person may answer (or change their answer). | areas/surveys/choice.ts:27 |
canChange | boolean | Whether a given answer can be removed or changed. | areas/surveys/choice.ts:29 |
id | number | - | areas/surveys/choice.ts:18 |
intro | string | The activity's description, as plain text. | areas/surveys/choice.ts:21 |
messages | string[] | The page's notices: closed, not open yet, results not published… | areas/surveys/choice.ts:33 |
multiple | boolean | Several options at once. | areas/surveys/choice.ts:25 |
name | string | - | areas/surveys/choice.ts:19 |
options | object[] | The options with the ids answers take; full ones can't be chosen. | areas/surveys/choice.ts:23 |