Performance API
The firstUIEventTimestamp read-only property of the PerformanceLongAnimationFrameTiming interface returns a 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 DOMHighResTimeStamp.
Examples
See Long animation frame timing for examples related to the Long Animation Frames API.
Specifications
Browser compatibility
See also
- Long animation frame timing
- PerformanceScriptTiming
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
