countdown

Builds a countdown transition with the given message and number of seconds.
Source:
Parameters:
Name Type Description
options Object
Name Type Description
duration number trial duration in milliseconds. (default: 1000)
stimulus string Onscreen stimulus in HTML to be shown in the trial. If the stimulus is not provided, message should be provided as a string. (default: "")
message string (optional) message for the countdown. (default: "")
time number start number for the countdown. (default: 3)