There are various ways to format the value of the Timer.
-
Default: simply display the seconds remaining
-
Percentage: display the reaming time as a percentage value
-
Human: use the Moment.JS Humanize function to print an human
readable interval
-
Locale: use a Moment.JS internationalization. For example de, fr
-
Custom: use a Moment.JS format. For example HH:mm:ss
-
Function: you can simply pass any JavaScript function to format the timer value.
${showcase:getFileContent('/sections/timer/example-format.xhtml')}