321
Presented by
Nay Oo Kyaw
Timer
Outlines
What is Timer?
How about Timer in Programming
Language?
Detailed Timer in Code
Timer
A timer is a specialized type of clock for
measuring time intervals.
Two Main Types of Timer
A timer which counts upwards from zero for
measuring elapsed time is often called a
Stopwatch.
A device which counts down from a
specified time interval is more usually called a
timer, count down timer.
How about Timer in Programming Language?
Timer uses for automated counting down or up cases.
Today, Timer is used for counting down during period of
exam in SecuoNEO project.
After Timer is over, the exam also over.
Project is developed by Laravel framework, Coffee Script,
Jade, Ajax, Stylus and so on.
Detailed Timer in Code
Sample Exam
SetInterval()
setInterval() method calls a function to evaluate at specified
intervals ( in milliseconds)
setInterval() will continue until clearInterval().
The ID value returned by setInterval() is used parameter for
clearInterval()
Sample Code
Given time
period
One function ( Timer ) in SecuoNEO Project
One function ( Timer ) in SecuoNEO Project
One function ( Timer ) in SecuoNEO Project

One function ( Timer ) in SecuoNEO Project

  • 1.
  • 2.
  • 3.
    Outlines What is Timer? Howabout Timer in Programming Language? Detailed Timer in Code
  • 4.
    Timer A timer isa specialized type of clock for measuring time intervals.
  • 5.
    Two Main Typesof Timer A timer which counts upwards from zero for measuring elapsed time is often called a Stopwatch. A device which counts down from a specified time interval is more usually called a timer, count down timer.
  • 6.
    How about Timerin Programming Language? Timer uses for automated counting down or up cases. Today, Timer is used for counting down during period of exam in SecuoNEO project. After Timer is over, the exam also over. Project is developed by Laravel framework, Coffee Script, Jade, Ajax, Stylus and so on.
  • 7.
  • 8.
  • 9.
    SetInterval() setInterval() method callsa function to evaluate at specified intervals ( in milliseconds) setInterval() will continue until clearInterval(). The ID value returned by setInterval() is used parameter for clearInterval()
  • 10.