All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sections.timer.format.xhtml Maven / Gradle / Ivy

There is a newer version: 1.1.0.6-jre15
Show newest version


    
        
            
        
        
            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
  • 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')}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy