Saltar al contenido principal

Function: setQuizPages()

function setQuizPages(
context,
siteUrl,
activityId,
pages
): Promise<QuizChange>;

Defined in: areas/quizzes/structure.ts:294

Sets a quiz's pages: perPage questions a page (0 for all on one), as the edit page's "Repaginate" does, or page breaks exactly after the given slots (and nowhere else), as its page break icons do one by one.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber
pages| { perPage: number; } | { breaksAfter: number[]; }

Returns​

Promise<QuizChange>