React-sim
GitHub

Default timer

0
100

The default timer

The following Model props affect the behavior of the Timer:

NameDescription
minTime
integer, 0 by default
at which position the timer starts. Can be negative.
maxTime
integer, 100 by default
at which position the timer ends.
showTime
boolean, true by default
Whether the time block (i.e. slider and time value) is going to be shown.
showTimeSlider
boolean, true by default
Whether the time slider is going to be shown.
showTimer
boolean, true by default
Whether the Timer is shown at all. If the Timer is not shown, you will have to provide another way to start the simulation (or effectively force the user to stay on the initial state).
-10
0

Timer with negative minTime

<Model minTime={-10} maxTime={0} />

Timer with showTimeSlider set to false

<Model showTimeSlider={false} />

Timer with showTime set to false

<Model showTime={false} />
Edit this page on GitHub
Previous:
Controls
Next:
Pre-defined types
React-SimGitHub