File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,26 @@ package org.scalajs.dom
99import scala .scalajs .js
1010import scala .scalajs .js .annotation ._
1111
12+ /** Encapsulates a single performance metric that is part of the browser's performance timeline. */
1213@ js.native
1314@ JSGlobal
1415class PerformanceEntry extends js.Object {
16+
17+ /** The name for a performance entry. It acts as an identifier, but it does not have to be unique. The value depends
18+ * on the subclass.
19+ */
1520 def name : String = js.native
1621
22+ /** The first timestamp recorded for this performance entry. The meaning of this property depends on the value of this
23+ * entry's [[entryType ]].
24+ */
1725 def startTime : Double = js.native
1826
27+ /** The duration of the performance entry. The meaning of this property depends on the value of this entry's
28+ * [[entryType ]].
29+ */
1930 def duration : Int = js.native
2031
32+ /** The type of performance metric that this entry represents. */
2133 def entryType : String = js.native
2234}
You can’t perform that action at this time.
0 commit comments