config.configuration.section_options - Initialization - Items API

Items API Initialization

section_options

Contains various options for assessments that use sections.

Examples

// Allow learners to go to previous sections and also display the total Item count
var initializationOptions = {
    "config": {
        "configuration": {
            "section_options": {
                "allow_backward_navigation": true,
                "display_total_item_count": true
            }
        }
    }
};

// Always reset the Item count when progressing to the next section
var initializationOptions = {
    "config": {
        "configuration": {
            "section_options": {
                "reset_itemcount_per_section": true
            }
        }
    }
};

Values

Attribute path config.configuration.section_options

Type object

Properties

  • allow_backward_navigation boolean

    When using sections and this is set true the learner will be able to navigate back to previous sections.

  • display_total_item_count boolean

    When using sections and this is set true the Item counter will display the total combined Item count for all sections.

  • reset_itemcount_per_section boolean

    When using sections and this is set true, the Item count and progress display in assessments will be reset, so that it only reflects the number of Items within the current section, rather than all sections.

Versioning

Version added: v2021.2.LTS

Related articles

Was this article helpful?

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