Initialization Option Items API

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

Request object key 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?