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

io.scalajs.dom.DOMHighResTimeStamp.scala Maven / Gradle / Ivy

There is a newer version: 0.4.2
Show newest version
package io.scalajs.dom

import scala.scalajs.js
import scala.scalajs.js.annotation.JSGlobal

/**
  * The DOMHighResTimeStamp type is a double and is used to store a time value. The value could be a discrete point in
  * time or the difference in time between two discrete points in time. The unit is milliseconds and should be accurate
  * to 5 µs (microseconds). However, if the browser is unable to provide a time value accurate to 5 microseconds
  * (due, for example, to hardware or software constraints), the browser can represent the value as a time in milliseconds
  * accurate to a millisecond.
  * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMHighResTimeStamp
  * @author [email protected]
  */
@js.native
@JSGlobal("DOMHighResTimeStamp")
class DOMHighResTimeStamp(timestamp: Double) extends js.Object




© 2015 - 2024 Weber Informatics LLC | Privacy Policy