Public Method Items API

item()

Returns the interface to a specified Item in the assessment.

You would want to use this method to interact with dynamic content and "Try Again" functionality. This method also provides access to methods for Events API which can be used for later reporting purposes.

Note The dynamic content methods won't appear if there is no dynamic content set for the Item.

Examples

var item = itemsApp.item('my_item_reference');
console.log(item);

Arguments

  • itemReference string
    Reference of the Item you want to access.

Return value

  • object
    Item interface object when found. See Item interface methods for more information.
  • boolean
    Returns false if the Item is not found in the assessment.

Related articles

Was this article helpful?