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
Link copied to clipboard
Link copied to clipboard

The read-only interactionId property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.

Link copied to clipboard
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
Link copied to clipboard
val target: Node?

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.