config.time.countdown_option - Initialization - Items API

Items API Initialization

countdown_option

Setting this option to true causes the assessment player timer to count down from the max_time value. By default, the timer in the assessment player counts up from zero.

You would want to specify this option so that you can reverse the timer.

Examples

// Set various assessment timer options:
// 1. Set the maximum time for the assessment to 10 minutes
// 2. Enable the warning indicator when 60 seconds remains
// 3. Force the assessment submission when the time has run out
// 4. Show the timer counting down from the total assessment time
var initializationOptions = {
    "config": {
        "time": {
            "max_time": 600,
            "warning_time": 60,
            "limit_type": "hard",
            "countdown_option": true
        }
    }
    // ...
};

Values

Attribute path config.time.countdown_option

Default false

Type boolean

Was this article helpful?

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