Assess API Methods
items()
Arguments
None.
Return value
Type object
An object with methods for navigating across items. Each method returns aPromise
that is resolved when navigation completes, or rejected if navigation was interrupted (e.g. the student may cancel navigation via the warning_on_change
dialog).
-
goto function
Navigates to the specified item, given an item reference or zero-based index as an argument.
-
next function
Navigates to the next item in the activity.
-
previous function
Navigates to the previous item in the activity.