Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for PerformanceSoftNavigation.
Developer library 6
PerformanceSoftNavigation
Performance API The `PerformanceSoftNavigation` interface provides timing information about soft navigations as used by client-side routing on single-page application (SPA) sites. It is emitted when a browser observes a soft navigation to have taken place. ## Instance properties This interface directly defines the following properties: - PerformanceSoftNavigation.interactionId - : The id of the interaction th
PerformanceSoftNavigation: paintTime property
Performance API The **`paintTime`** read-only property of the PerformanceSoftNavigation interface returns the timestamp of when the rendering phase ended and the paint phase started. The `paintTime` is broadly interoperable: The value should be the same across different implementations. ## Value A DOMHighResTimeStamp. ## Examples This example uses a PerformanceObserver to log new `soft-navigation` performance e
PerformanceSoftNavigation: toJSON() method
Performance API The **`toJSON()`** method of the PerformanceSoftNavigation interface returns a JSON-serializable plain object representing the `PerformanceSoftNavigation` object. The method is automatically called by JSON.stringify() when a `PerformanceSoftNavigation` object is encountered during [JSON](/docs/Glossary/JSON) serialization. ## Syntax ```js-nolint toJSON() ``` ### Parameters None. ### Return valu
PerformanceSoftNavigation: navigationType property
Performance API The **`navigationType`** read-only property of the PerformanceSoftNavigation interface returns the type of the soft navigation — `push`, `reload`, `replace`, or `traverse`. This returns the same types as NavigateEvent.navigationType. ## Value An enumerated value representing the type of navigation. The possible values are: - `push` - : A new location is navigated to, causing a new entry to be
PerformanceSoftNavigation: presentationTime property
Performance API The **`presentationTime`** read-only property of the PerformanceSoftNavigation interface returns the timestamp of when the painted pixels were actually drawn on the screen. The `presentationTime` is optional — some browsers may always return `0` or not expose the value at all. The value is also implementation-dependent — it may differ across browsers that choose to expose it. ## Value A DOMHighRes
PerformanceSoftNavigation: getLargestInteractionContentfulPaint() method
Performance API The **`getLargestInteractionContentfulPaint()`** method of the PerformanceSoftNavigation interface returns the current largest InteractionContentfulPaint relevant to this soft navigation. Some Single Page Applications (SPAs) may paint first and update the URL afterwards. Despite this, developers will want to include these paints when measuring Largest Contentful Paint (LCP) for soft navigations. Bec