Skip to main content

Function: getChoice()

function getChoice(
context,
siteUrl,
activityId
): Promise<Choice>;

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

A choice: its options, whether it can be answered or changed, and the person's answer.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber

Returns​

Promise<Choice>