MDN self-hosted library · e01.org

NavigationActivation: entry property

Navigation API

no runnable cells web-api-instance-property upstream source

Navigation API

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

Browser compatibility

See also