Function: rubric()
function rubric(
context,
siteUrl,
activityId
): Promise<object & GradingDefinition>;
Defined in: areas/assignments/grading.ts:334
An assignment's grading method and, for a rubric or a marking guide, its criteria with the ids
gradeSubmission takes: read from the grader's panel for the first participant with a submission.
Where nobody has one yet, the panel is the first participant's, and Moodle creates an empty
submission ("new") for them on opening it.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
activityId | number |
Returns
Promise<object & GradingDefinition>