rendering_type - Initialization - Items API

Items API Initialization

rendering_type

The rendering type dictates whether the Activity will be rendered using the Learnosity's assessment player, or within an Items container embedded in multiple different locations on the page.

You must specify this option to select from the different rendering modes.

Examples

// Render the Activity using the Learnosity assessment player
var initializationOptions = {
    "rendering_type": "assess"
    // ...
};

// Render the Activity using inline mode
var initializationOptions = {
    "rendering_type": "inline"
    // ...
};

Values

Attribute path rendering_type

Type string

Possible values

  • "assess"

    Items are rendered in an assessment player where Items are displayed individually and contains added controls for the learner to navigate and interact with the assessment.

  • "inline"

    All Items are rendered on the page in one continuous list where learners can scroll to any Item within the assessment.

Related articles

this is a mandatory property.

Was this article helpful?

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