Options
All
  • Public
  • Public/Protected
  • All
Menu

A stopwatch.

Hierarchy

  • StopWatch

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _startTime

_startTime: any

Accessors

isRunning

  • get isRunning(): boolean
  • Gets if the stop watch is running or not.

    Returns boolean

Methods

start

  • (Re-)Starts the stop watch.

    Returns StopWatch

    this

stop

  • stop(): number
  • Stops the watch.

    Returns number

    The number of milliseconds.

Generated using TypeDoc