GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

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 NavigationHistoryEntry.

Developer library 6

NavigationHistoryEntry

Navigation API The **`NavigationHistoryEntry`** interface of the Navigation API represents a single navigation history entry. These objects are commonly accessed via the Navigation.currentEntry property and Navigation.entries() method. The Navigation API only exposes history entries created in the current browsing context that have the same origin as the current page (e.g., not navigations inside embedded iframes,

NavigationHistoryEntry: getState() method

Navigation API The **`getState()`** method of the NavigationHistoryEntry interface returns a clone of the developer-supplied state associated with this history entry. ## Syntax ```js-nolint getState() ``` ### Parameters None. ### Return value A value representing the state. This can be any [structured-cloneable](/docs/Web/API/Web_Workers_API/Structured_clone_algorithm) data type. If no state is defined or if

NavigationHistoryEntry: dispose event

Navigation API The **`dispose`** event of the NavigationHistoryEntry interface is fired when the entry is no longer part of the history entry list. Disposal occurs when: - Forward history entries are cleared. See the example at [Notifications on entry disposal](https://github.com/wicg/navigation-api#notifications-on-entry-disposal) for more information. - The user clears their browser history using settings or pro

NavigationHistoryEntry: key property

Navigation API The **`key`** read-only property of the NavigationHistoryEntry interface returns the `key` of the history entry, or an empty string if current document is not fully active. This is a unique, UA-generated value that represents the history entry's slot in the entries list. It is used to navigate that particular slot via Navigation.traverseTo(). The `key` will be reused by other entries that replace the

NavigationHistoryEntry: id property

Navigation API The **`id`** read-only property of the NavigationHistoryEntry interface returns the `id` of the history entry, or an empty string if current document is not fully active. This is a unique, UA-generated value that always represents a specific history entry, useful to correlate it with an external resource such as a storage cache. This differs from the key of a history entry. The `key` is a unique, UA-

NavigationHistoryEntry: sameDocument property

Navigation API The **`sameDocument`** read-only property of the NavigationHistoryEntry interface returns `true` if this history entry is for the same `document` as the current Document value and current document is fully active, or `false` otherwise. ## Value A boolean. ## Examples ```js const current = navigation.currentEntry; console.log(current.sameDocument); // Will always return true ``` ## Specifications

JSON results · Services directory