items - Methods - Assess API

Assess API Methods

items()

Allows access to an object with methods that allow navigation across items.

Arguments

None.

Return value

Type 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).
  • 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.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.