Initialization Option Items API

resource_items

Specifies the Items that will be rendered in the resources panel of the assessment player.

You would want to specify this option so that you can customize which Items to show for learners in the resource panel that is available for the whole assessment, for example, an image of the periodic table.

See Adding A Resource Item To An Activity for more information on how to create a resource Item.

Note The Item must only contain Features. Items containing Questions will not be rendered in the resources panel.

Examples

// Enable the resources panel containing two specified Items
var initializationOptions = {
    "config": {
        "navigation": {
            "resource_items": [
                "my_item_reference_1",
                "my_item_reference_2"
            ]
        }
    }
};

Values

Request object key config.navigation.resource_items

Default: false

Type array[string]

Related articles

Was this article helpful?