config.time.warning_time - Initialization - Items API

Items API Initialization

warning_time

Specifies whether to warn the learner that time is running out by showing them a visual cue (red background) in the timer element of the assessment player, when the session has reached a certain amount of seconds left.

You would want to specify this option so that you can give the learners a chance to finalize their assessment before time runs out.

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.warning_time

Type number

Was this article helpful?

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