item - Methods - Assess API

Assess API Methods

item()

Allows access to the methods of an item.

Examples

assessApp.item("ccore_video_590_classification")
    .checkImages()
    .then(function () {
        console.log("All the images are loaded");
    })
    .catch(function () {
        console.log("Image(s) failed loading. You can call
        `retryLoadImages` on the item facade to retry loading them.");
    });
};

Arguments

  • reference string

    The item's reference.

Return value

Type object

An object containing methods for an Item when using "assess" as the rendering_type.
  • checkImages function

  • flag function

    Sets an item as flagged (marked) or not.

  • retryLoadImages function

Was this article helpful?

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