xowf::test_item::Answer_manager method countdown_timer (public)

 <instance of xowf::test_item::Answer_manager[i]> countdown_timer \
    -target_time target_time  -id id  [ -audio_alarm on|off ] \
    [ -audio_alarm_cookie audio_alarm_cookie ] \
    [ -audio_alarm_times audio_alarm_times ]

Defined in packages/xowf/tcl/test-item-procs.tcl

Accepted formats for target_time, determined by JavaScript ISO 8601, e.g. YYYY-MM-DDTHH:mm:ss.sss" Set current time based on host time instead of new Date().getTime() to avoid surprises, in cases, the time at the client browser is set incorrectly.

Switches:
-target_time (required)
-id (required)
-audio_alarm (optional, boolean, defaults to "true")
-audio_alarm_cookie (optional, defaults to "incass_exam_audio_alarm")
-audio_alarm_times (optional, defaults to "60,30,20,10,5,2")

Testcases:
No testcase defined.
[ show source ]
Show another procedure: