Skip to main content

Interface: Choice

Defined in: areas/surveys/choice.ts:17

A choice activity as the person sees it (getChoice).

Properties​

PropertyTypeDescriptionDefined in
answerstring[]The options chosen, as the page names them, also where the form is gone.areas/surveys/choice.ts:31
canAnswerbooleanThe form is there: the choice is open and the person may answer (or change their answer).areas/surveys/choice.ts:27
canChangebooleanWhether a given answer can be removed or changed.areas/surveys/choice.ts:29
idnumber-areas/surveys/choice.ts:18
introstringThe activity's description, as plain text.areas/surveys/choice.ts:21
messagesstring[]The page's notices: closed, not open yet, results not published…areas/surveys/choice.ts:33
multiplebooleanSeveral options at once.areas/surveys/choice.ts:25
namestring-areas/surveys/choice.ts:19
optionsobject[]The options with the ids answers take; full ones can't be chosen.areas/surveys/choice.ts:23