Extensions/Assessment/toggleTimer

DEPRECATED

This extension is deprecated and will be removed in a future release due to the pending release in Items API v2026.2.LTS (possibly v2026.3.LTS)

Toggle Timer Extension

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