PerformanceSoftNavigation Class
A soft navigation (https://wicg.github.io/soft-navigations/#sec-soft-navs): a user interaction that changed the URL of the document (history.pushState(), a fragment navigation, a traversal, a navigation intercepted by the Navigation API) and whose modifications of the document were painted. It is reported to the soft-navigation performance observers of its window, and the entries queued from then on have a new PerformanceEntry.NavigationId.
public sealed class PerformanceSoftNavigation : PerformanceEntry- Inheritance
PerformanceEntryPerformanceSoftNavigation
Properties
| Name | Description |
|---|---|
| InteractionId | Gets the identifier of the interaction (PerformanceEventTiming.InteractionId). |
| NavigationType | Gets the type of the first URL change of the interaction. |
| PaintTime | Gets the time of the end of the rendering update of the first contentful paint of the interaction. |
| PresentationTime | Gets the time the frame was presented to the user: null, the presentation time is not supported. |
InteractionId
SoftNavigations.csGets the identifier of the interaction (PerformanceEventTiming.InteractionId).
public ulong InteractionId { get; }PaintTime
SoftNavigations.csGets the time of the end of the rendering update of the first contentful paint of the interaction.
public double PaintTime { get; }PresentationTime
SoftNavigations.csGets the time the frame was presented to the user: null, the presentation time is not supported.
public double? PresentationTime { get; }Property value
See also
Methods
| Name | Description |
|---|---|
| GetLargestInteractionContentfulPaint() | Returns the largest contentful paint of the interaction so far (it changes while the interaction paints larger content). |
GetLargestInteractionContentfulPaint()
SoftNavigations.csReturns the largest contentful paint of the interaction so far (it changes while the interaction paints larger content).
public InteractionContentfulPaint? GetLargestInteractionContentfulPaint()