Skip to main content

StopWatch

Index

Constructors

publicconstructor

  • Parameters

    • start: boolean = false

    Returns StopWatch

Accessors

publicelapsed

  • get elapsed(): number
  • Returns number

publicisRunning

  • get isRunning(): boolean
  • Returns boolean

publictotalElapsed

  • get totalElapsed(): number
  • Returns number

Methods

publicresetAndStart

  • resetAndStart(): void
  • Returns void

publicresetAndStop

  • resetAndStop(): void
  • Returns void

publicresume

  • resume(): void
  • Returns void

publicstop

  • stop(): number
  • Returns number