Performance API
The paintTime read-only property of the PerformanceLongAnimationFrameTiming interface returns the DOMHighResTimeStamp when the rendering phase ended and the animation frame started.
The paintTime is broadly interoperable: The value should be the same across different implementations.
Value
A DOMHighResTimeStamp.
Examples
See Long animation frame timing for examples related to the Long Animation Frames API.
Specifications
Browser compatibility
See also
- PerformanceLongAnimationFrameTiming.presentationTime
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
