NavigationActivation: entry property
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The entry
read-only property of the NavigationActivation
interface contains a NavigationHistoryEntry
object representing the history entry for the inbound ("to") document in the navigation. This is equivalent to the Navigation.currentEntry
property at the moment the inbound document was activated.
There are some cases in which either the from
or entry
NavigationHistoryEntry
objects would not be viable targets for the traverseTo()
method, as they might not be retained in history. For example, the document can be activated using location.replace()
or its initial entry could be replaced by history.replaceState()
. However, those entries' url
properties and getState()
methods are still accessible.
Value
A NavigationHistoryEntry
object.
Examples
See the main NavigationActivation
page.
Specifications
Specification |
---|
HTML Standard # dom-navigationactivation-entry |
Browser compatibility
BCD tables only load in the browser