Extensions/Assessment/toggleTimer

Allows end users to click and show/hide the assessment timer. This is an accommodations tool.

Parameters:
NameTypeAttributesDescription
optionsobject<optional>

Object of configuration options.

Properties
NameTypeAttributesDescription
showTimerLimitnumber<optional>

The time limit for showing the timer (in seconds).

Example
const options = {
    showTimerLimit: 60
}

LT.init(itemsApp, {
    extensions: [
        { id: 'toggleTimer', args: options },
    ],
});

Methods

toggle()

Toggle visibility without cloning nodes. CSS does the heavy lifting via .lt--timer-hidden