Back to Content

PerformanceLongAnimationFrameTiming: firstUIEventTimestamp property

files/en-us/web/api/performancelonganimationframetiming/firstuieventtimestamp/index.md

latest944 B
Original Source

{{SeeCompatTable}}{{APIRef("Performance API")}}

The firstUIEventTimestamp read-only property of the {{domxref("PerformanceLongAnimationFrameTiming")}} interface returns a {{domxref("DOMHighResTimeStamp")}} indicating the time of the first UI event — such as a mouse or keyboard event — to be processed during the current animation frame. Note this timestamp can be before the start of this animation frame if there was a delay between the event happening and it being processed.

Value

A {{domxref("DOMHighResTimeStamp")}}.

Examples

See Long animation frame timing for examples related to the Long Animation Frames API.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also