Skip to content

Commit

Permalink
fix: various typos (mdn#22435)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored and hamishwillee committed Dec 9, 2022
1 parent ea3d8be commit b0ad829
Show file tree
Hide file tree
Showing 50 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/configure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const init = {
let config = {
codec: "opus",
sampleRate: 44100,
numberOfCannels: 2,
numberOfChannels: 2,
bitrate: 128_000, // 128 kbps
};

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/canintercept/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.canIntercept
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`canIntercept`** read-only property of the
{{domxref("NavigateEvent")}} interface returns `true` if the navigation can be intercepted and have its URL rewritten, or `false` otherwise
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/destination/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.destination
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`destination`** read-only property of the
{{domxref("NavigateEvent")}} interface returns a {{domxref("NavigationDestination")}} object representing the destination being navigated to.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/downloadrequest/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.downloadRequest
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`downloadRequest`** read-only property of the
{{domxref("NavigateEvent")}} interface returns the filename of the file requested for download, in the case of a download navigation (e.g. an {{htmlelement("a")}} or {{htmlelement("area")}} element with a `download` attribute), or `null` otherwise.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/formdata/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.formData
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`formData`** read-only property of the
{{domxref("NavigateEvent")}} interface returns the {{domxref("FormData")}} object representing the submitted data in the case of a [`POST`](/en-US/docs/Web/HTTP/Methods/POST) form submission, or `null` otherwise.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/hashchange/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.hashChange
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`hashChange`** read-only property of the
{{domxref("NavigateEvent")}} interface returns `true` if the navigation is a fragment navigation (i.e. to a fragment identifier in the same document), or `false` otherwise.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
browser-compat: api.NavigateEvent
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`NavigateEvent`** interface of the {{domxref("Navigation API", "Navigation API", "", "nocode")}} is the event object for the {{domxref("Navigation/navigate_event", "navigate")}} event, which fires when [any type of navigation](https://github.com/WICG/navigation-api#appendix-types-of-navigations) is initiated (this includes usage of {{domxref("History API", "History API", "", "nocode")}} features like {{domxref("History.go()")}}). `NavigateEvent` provides access to information about that navigation, and allows developers to intercept and control the navigation handling.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/info/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.info
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`info`** read-only property of the
{{domxref("NavigateEvent")}} interface returns the `info` data value passed by the initiating navigation operation (e.g. {{domxref("Navigation.back()")}}, or {{domxref("Navigation.navigate()")}}), or `undefined` if no `info` data was passed.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/intercept/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigateEvent.intercept
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`intercept()`** method of the
{{domxref("NavigateEvent")}} interface intercepts this navigation, turning it into a same-document navigation to the {{domxref("NavigationDestination.url", "destination")}} URL.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/navigateevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
browser-compat: api.NavigateEvent.NavigateEvent
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`NavigateEvent()`** constructor creates a new
{{domxref("NavigateEvent")}} object instance.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/navigationtype/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.navigationType
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`navigationType`** read-only property of the
{{domxref("NavigateEvent")}} interface returns the type of the navigation — `push`, `reload`, `replace`, or `traverse`.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/scroll/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
browser-compat: api.NavigateEvent.scroll
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`scroll()`** method of the
{{domxref("NavigateEvent")}} interface can be called to manually trigger the browser-driven scrolling behavior that occurs in response to the navigation, if you want it to happen before the navigation handling has completed.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/signal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.signal
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`signal`** read-only property of the
{{domxref("NavigateEvent")}} interface returns an {{domxref("AbortSignal")}}, which will become aborted if the navigation is cancelled (e.g. by the user pressing the browser's "Stop" button, or another navigation starting and thus cancelling the ongoing one).
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigateevent/userinitiated/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
browser-compat: api.NavigateEvent.userInitiated
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`userInitiated`** read-only property of the
{{domxref("NavigateEvent")}} interface returns `true` if the navigation was initiated by the user (e.g. by clicking a link, submitting a form, or pressing the browser's "Back"/"Forward" buttons), or `false` otherwise.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/back/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.back
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`back()`** method of the
{{domxref("Navigation")}} interface navigates backwards by one entry in the navigation history.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/cangoback/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.canGoBack
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`canGoBack`** read-only property of the
{{domxref("Navigation")}} interface returns `true`
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/cangoforward/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.canGoForward
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`canGoForward`** read-only property of the
{{domxref("Navigation")}} interface returns `true` if it is possible to navigate forwards in the navigation history
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/currententry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.currentEntry
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`currentEntry`** read-only property of the
{{domxref("Navigation")}} interface returns a {{domxref("NavigationHistoryEntry")}} object representing the location the user is currently navigated to right now.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/entries/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.entries
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`entries()`** method of the
{{domxref("Navigation")}} interface returns an array of {{domxref("NavigationHistoryEntry")}} objects representing all existing history entries.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/forward/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.forward
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`forward()`** method of the
{{domxref("Navigation")}} interface navigates forwards by one entry in the navigation history.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
browser-compat: api.Navigation
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`Navigation`** interface of the {{domxref("Navigation API", "Navigation API", "", "nocode")}} allows control over all navigation actions for the current `window` in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/navigate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
browser-compat: api.Navigation.navigate
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`navigate()`** method of the
{{domxref("Navigation")}} interface navigates to a specific URL, updating any provided state in the history entries list.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/reload/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.reload
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`reload()`** method of the
{{domxref("Navigation")}} interface reloads the current URL, updating any provided state in the history entries list.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/transition/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.transition
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`transition`** read-only property of the {{domxref("Navigation")}} interface returns a {{domxref("NavigationTransition")}} object representing the status of an in-progress navigation, which can be used to track it.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigation/traverseto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.traverseTo
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`traverseTo()`** method of the {{domxref("Navigation")}} interface navigates to the {{domxref("NavigationHistoryEntry")}} identified by the given {{domxref("NavigationHistoryEntry.key", "key")}}.

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/navigation/updatecurrententry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.Navigation.updateCurrentEntry
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`updateCurrentEntry()`** method of the {{domxref("Navigation")}} interface updates the `state` of the {{domxref("Navigation.currentEntry","currentEntry")}}; used in cases where the state change will be independent from a navigation or reload.

Expand All @@ -45,7 +45,7 @@ None (`undefined`).
- `DataCloneError` {{domxref("DOMException")}}
- : Thrown if the `state` parameter had values included in it that are not structured-clonable.
- `InvalidStateError` {{domxref("DOMException")}}
- : Thrown if the {{domxref("Navigation.currentEntry")}} is `null`, i.e. there is no current history entry. This could occur for exaple if the current page is `about:blank`.
- : Thrown if the {{domxref("Navigation.currentEntry")}} is `null`, i.e. there is no current history entry. This could occur for example if the current page is `about:blank`.

## Examples

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/navigation_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ browser-compat:
- api.NavigateEvent
---

{{seecompattable}}{{DefaultAPISidebar("Navigation API")}}
{{SeeCompatTable}}{{DefaultAPISidebar("Navigation API")}}

The **Navigation API** provides the ability to initiate, intercept, and manage browser navigation actions. It can also examine an application's history entries. This is a successor to previous web platform features such as the {{domxref("History API", "History API", "", "nocode")}} and {{domxref("window.location")}}, which solves their shortcomings and is specifically aimed at the needs of {{glossary("SPA", "single-page applications (SPAs)")}}.

Expand All @@ -44,7 +44,7 @@ Once a navigation is initiated, and your `intercept()` handler is called, a {{do
> **Note:** You can also call {{domxref("Event.preventDefault", "preventDefault()")}} to stop the navigation entirely for most [navigation types](/en-US/docs/Web/API/NavigateEvent/navigationType#value); cancellation of traverse navigations is not yet implemented.
When the `intercept()` handler function's promise fulfills, the `Navigation` object's {{domxref("Navigation/navigatesuccess_event", "navigatesuccess")}} event fires, allowing you to run cleanup code after a successful navigation has completed. If it rejects, meaning the navigation has failed, {{domxref("Navigation/navigateerror_event", "navigateerror")}} fires instead, allowing you to gracefully handle the failure case. There is also a {{domxref("NavigationTransition.finished", "finished")}} property on the `NavigationTransition` object, which fullfills or rejects at the same time as the aforementioned events are fired, providing another path for handling the success and failure cases.
When the `intercept()` handler function's promise fulfills, the `Navigation` object's {{domxref("Navigation/navigatesuccess_event", "navigatesuccess")}} event fires, allowing you to run cleanup code after a successful navigation has completed. If it rejects, meaning the navigation has failed, {{domxref("Navigation/navigateerror_event", "navigateerror")}} fires instead, allowing you to gracefully handle the failure case. There is also a {{domxref("NavigationTransition.finished", "finished")}} property on the `NavigationTransition` object, which fulfills or rejects at the same time as the aforementioned events are fired, providing another path for handling the success and failure cases.

> **Note:** Before the Navigation API was available, to do something similar you'd have to listen for all click events on links, run `e.preventDefault()`, perform the appropriate {{domxref("History.pushState()")}} call, then set up the page view based on the new URL. And this wouldn't handle all navigations — only user-initiated link clicks.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationCurrentEntryChangeEvent.from
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`from`** read-only property of the
{{domxref("NavigationCurrentEntryChangeEvent")}} interface returns the {{domxref("NavigationHistoryEntry")}} that was navigated from.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
browser-compat: api.NavigationCurrentEntryChangeEvent
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`NavigationCurrentEntryChangeEvent`** interface of the {{domxref("Navigation API", "Navigation API", "", "nocode")}} is the event object for the {{domxref("Navigation/currententrychange_event", "currententrychange")}} event, which fires when the {{domxref("Navigation.currentEntry")}} has changed.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tags:
browser-compat: api.NavigationCurrentEntryChangeEvent.NavigationCurrentEntryChangeEvent
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`NavigationCurrentEntryChangeEvent()`** constructor creates a new
{{domxref("NavigationCurrentEntryChangeEvent")}} object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationCurrentEntryChangeEvent.navigationType
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`navigationType`** read-only property of the
{{domxref("NavigationCurrentEntryChangeEvent")}} interface returns the type of the navigation that resulted in the change.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationDestination.getState
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`getState()`** method of the
{{domxref("NavigationDestination")}} interface returns a clone of the developer-supplied state associated with the destination {{domxref("NavigationHistoryEntry")}}, or navigation operation (e.g. {{domxref("Navigation.navigate()", "navigate()")}}) as appropriate.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigationdestination/id/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationDestination.id
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`id`** read-only property of the
{{domxref("NavigationDestination")}} interface returns the {{domxref("NavigationHistoryEntry.id", "id")}} value of the destination {{domxref("NavigationHistoryEntry")}} if the {{domxref("NavigateEvent.navigationType")}} is `traverse`, or `null` otherwise.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigationdestination/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
browser-compat: api.NavigationDestination
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`NavigationDestination`** interface of the {{domxref("Navigation API", "Navigation API", "", "nocode")}} represents the destination being navigated to in the current navigation.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigationdestination/index/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationDestination.index
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`index`** read-only property of the
{{domxref("NavigationDestination")}} interface returns the {{domxref("NavigationHistoryEntry.index", "index")}} value of the destination {{domxref("NavigationHistoryEntry")}} if the {{domxref("NavigateEvent.navigationType")}} is `traverse`, or `-1` otherwise.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigationdestination/key/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationDestination.key
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`key`** read-only property of the
{{domxref("NavigationDestination")}} interface returns the {{domxref("NavigationHistoryEntry.key", "key")}} value of the destination {{domxref("NavigationHistoryEntry")}} if the {{domxref("NavigateEvent.navigationType")}} is `traverse`, or `null` otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationDestination.sameDocument
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`sameDocument`** read-only property of the
{{domxref("NavigationDestination")}} interface returns `true` if the navigation is to the same `document` as the current {{domxref("Document")}} value, or `false` otherwise.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigationdestination/url/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationDestination.url
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`url`** read-only property of the
{{domxref("NavigationDestination")}} interface returns the URL being navigated to.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationHistoryEntry.getState
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`getState()`** method of the
{{domxref("NavigationHistoryEntry")}} interface returns a clone of the developer-supplied state associated with this history entry.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigationhistoryentry/id/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationHistoryEntry.id
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`id`** read-only property of the
{{domxref("NavigationHistoryEntry")}} interface returns the `id` of the history entry. 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.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigationhistoryentry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:
browser-compat: api.NavigationHistoryEntry
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`NavigationHistoryEntry`** interface of the {{domxref("Navigation API", "Navigation API", "", "nocode")}} represents a single navigation history entry.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigationhistoryentry/index/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
browser-compat: api.NavigationHistoryEntry.index
---

{{APIRef("Navigation API")}}{{seecompattable}}
{{APIRef("Navigation API")}}{{SeeCompatTable}}

The **`index`** read-only property of the
{{domxref("NavigationHistoryEntry")}} interface returns the index of the history entry in the history entries list (that is, the list returned by {{domxref("Navigation.entries()")}}), or `-1` if the entry does not appear in the list.
Expand Down
Loading

0 comments on commit b0ad829

Please sign in to comment.