PerformanceLongAnimationFrameTiming: presentationTime property
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The presentationTime read-only property of the PerformanceLongAnimationFrameTiming interface returns the timestamp when the UI update was actually drawn on the screen.
The presentationTime is optional — some browsers may choose always to return 0 or not to expose the value at all. The value is also implementation-dependent — it may differ across browsers that choose to expose it.
Value
A DOMHighResTimeStamp or null if the value is not exposed.
Examples
See Long animation frame timing for examples related to the Long Animation Frames API.
Specifications
| Specification |
|---|
| Paint Timing # dom-painttimingmixin-presentationtime |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
presentationTime
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.