Function: quizStructure()
function quizStructure(
context,
siteUrl,
activityId
): Promise<{
quiz: {
id: number;
};
sections: QuizSection[];
slots: QuizSlot[];
}>;
Defined in: areas/quizzes/structure.ts:111
A quiz's questions as its edit page lists them: slots with their page, question, type, name and mark, and its sections.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
activityId | number |
Returns
Promise<{
quiz: {
id: number;
};
sections: QuizSection[];
slots: QuizSlot[];
}>