Function: submitForGrading()
function submitForGrading(
context,
siteUrl,
activityId,
options?
): Promise<{
assignment: StudentAssignment;
changed: string;
}>;
Defined in: areas/assignments/student.ts:164
Submits the saved submission for grading, accepting the site's statement when it asks for one
(acceptStatement, once the person agrees; a bare boolean as before 0.2 too); gives the
assignment afterwards.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
activityId | number |
options | | boolean | { acceptStatement?: boolean; } |
Returns
Promise<{
assignment: StudentAssignment;
changed: string;
}>