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
9
9
import scala .scalajs .js
10
10
import scala .scalajs .js .annotation ._
11
11
12
+ /** Encapsulates a single performance metric that is part of the browser's performance timeline. */
12
13
@ js.native
13
14
@ JSGlobal
14
15
class 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
+ */
15
20
def name : String = js.native
16
21
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
+ */
17
25
def startTime : Double = js.native
18
26
27
+ /** The duration of the performance entry. The meaning of this property depends on the value of this entry's
28
+ * [[entryType ]].
29
+ */
19
30
def duration : Int = js.native
20
31
32
+ /** The type of performance metric that this entry represents. */
21
33
def entryType : String = js.native
22
34
}
You can’t perform that action at this time.
0 commit comments