format code | --what it is replaced with | --
---|---|
S | --Time left in seconds, unbroken down. Does not include milliseconds. -- IE a timer with 2 minutes left it would replace S with 120 -- |
--
dd | --Days, with 1 leading 0 (0, 01, 02-...) | --
d | --Days, with no leading 0 (1,2,3-...) | --
hh | --hours, with leading 0 (00-24) | --
h | --hours, without leading 0 (0-24) | --
MM | --minutes, with a leading 0 (00-59) | --
M | --minutes, no leading 0 (0-59) | --
ss | --seconds, with leading 0 (00-59) | --
s | --seconds, no leading 0 (0-59) | --
t | --tenths of a second -- timer with 12.345 seconds left, t would -- br replaced by 3. -- |
--
mm | --milliseconds with leadings 0s (000-999) | --
m | --milliseconds with no leading 0s (0-999) | --
name | --description | --default | --
---|---|---|
time | --how long the timer should run for | ---- |
active | --whether the timer should run or not | --true | --
showTime | --should we show the time remaining on the gauge? | --true | --
prefix | --text you want shown before the time. | --"" | --
suffix | --text you want shown after the time. | --"" | --
timerCaption | --Alias for suffix. Deprecated and may be remove in the future | ---- |
updateTime | --number of milliseconds between gauge updates. | --10 | --
autoHide | --should the timer :hide() itself when it runs out/you stop it? | --true | --
autoShow | --should the timer :show() itself when you start it? | --true | --
manageContainer | --should the timer remove itself from its container when you call :hide() and add itself back when you call :show()? |
-- false | --
timeFormat | --how should the time be displayed/returned if you call :getTime()? See table below for more information |
-- "S.t" | --
format code | --what it is replaced with | --
---|---|
S | --Time left in seconds, unbroken down. Does not include milliseconds. -- IE a timer with 2 minutes left it would replace S with 120 -- |
--
dd | --Days, with 1 leading 0 (0, 01, 02-...) | --
d | --Days, with no leading 0 (1,2,3-...) | --
hh | --hours, with leading 0 (00-24) | --
h | --hours, without leading 0 (0-24) | --
MM | --minutes, with a leading 0 (00-59) | --
M | --minutes, no leading 0 (0-59) | --
ss | --seconds, with leading 0 (00-59) | --
s | --seconds, no leading 0 (0-59) | --
t | --tenths of a second -- timer with 12.345 seconds left, t would -- br replaced by 3. -- |
--
mm | --milliseconds with leadings 0s (000-999) | --
m | --milliseconds with no leading 0s (0-999) | --