items()
Allows access to an object with methods that allow navigation across items.
Arguments
None.
Return value
Value object
An object with methods for navigating across items. Each method returns a Promise
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).
Properties
-
goto functionNavigates to the specified item, given an item reference or zero-based index as an argument.Returns:
Promise
-
next functionNavigates to the next item in the activity.Returns:
Promise
-
previous functionNavigates to the previous item in the activity.Returns:
Promise