UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

12 lines (11 loc) 435 B
import { URLStore } from "../../store/URLStore.js"; import { type PossibleURL } from "../../util/url.js"; /** * Store the current navigation state (URL only). * - TODO: switch to the browser Navigation API when broadly supported. */ export declare class NavigationStore extends URLStore { constructor(url?: PossibleURL, base?: PossibleURL); forward(possible: PossibleURL): void; redirect(possible: PossibleURL): void; }