PerformanceEventTiming

The PerformanceEventTiming interface of the Event Timing API provides insights into the latency of certain event types triggered by user interaction.

MDN Reference

Properties

Link copied to clipboard

The read-only cancelable property returns the associated event's cancelable property, indicating whether the event can be canceled.

Link copied to clipboard

The read-only duration property returns a DOMHighResTimeStamp that is the duration of the PerformanceEntry.

Link copied to clipboard

The read-only entryType property returns a string representing the type of performance metric that this entry represents.

Link copied to clipboard

The read-only name property of the PerformanceEntry interface is a string representing the name for a performance entry.

Link copied to clipboard

The read-only processingEnd property returns the time the last event handler finished executing.

Link copied to clipboard

The read-only processingStart property returns the time at which event dispatch started.

Link copied to clipboard

The read-only startTime property returns the first DOMHighResTimeStamp recorded for this PerformanceEntry.

Link copied to clipboard

The read-only target property returns the associated event's last target which is the node onto which the event was last dispatched.

Functions

Link copied to clipboard
open override fun toJSON(): JsAny

The toJSON() method of the PerformanceEventTiming interface is a Serialization; it returns a JSON representation of the PerformanceEventTiming object.