[]previous and next page

BlockedTransition

A blocked transition, as a blocker sees it.

A blocked transition, as a blocker sees it.

Import#

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

Signature#

ts
interface BlockedTransition {
  readonly action: "PUSH" | "REPLACE" | "POP";
  readonly pathname: string;
  readonly search: string;
  readonly hash: string;
  readonly delta: number | undefined;
}

Members#

Name Type Description
action readonly action: "PUSH" | "REPLACE" | "POP"
pathname readonly pathname: string
search readonly search: string
hash readonly hash: string
delta readonly delta: number | undefined