NavigationActivation: entry property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
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 # dom-navigationactivation-entry |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
entry |
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.