Back to Content

Window: navigation property

files/en-us/web/api/window/navigation/index.md

latest858 B
Original Source

{{APIRef("Navigation API")}}

The navigation read-only property of the {{domxref("Window")}} interface returns the current window's associated {{domxref("Navigation")}} object.

This is the entry point for the {{domxref("Navigation API", "", "", "nocode")}}.

Value

A {{domxref("Navigation")}} object instance.

Examples

js
let currentNavEntries = window.navigation.entries();

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also