Saltar al contenido principal

Function: h5pActivity()

function h5pActivity(
context,
siteUrl,
activityId
): Promise<H5PActivity>;

Defined in: areas/h5p/h5p.ts:89

An H5P activity: its content type, whether attempts are tracked, and the person's attempts with their scores.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber

Returns​

Promise<H5PActivity>