[]previous and next page

LocationView

The current location, app-relative (without the base path).

The current location, app-relative (without the base path). Reactive when read.

Import#

ts
import type { LocationView } from "@shadow-js/router";

Signature#

ts
interface LocationView {
  readonly pathname: string;
  readonly search: string;
  readonly hash: string;
}

Members#

Name Type Description
pathname readonly pathname: string
search readonly search: string
hash readonly hash: string