UNPKG

@wroud/navigation

Version:

A flexible, pattern-matching navigation system for JavaScript applications with built-in routing, browser integration, and navigation state management

9 lines 350 B
import type { IRouteState } from "./IRouteState.js"; export declare enum NavigationType { Navigate = "navigate", Replace = "replace", Back = "back", Forward = "forward" } export type NavigationListener = (type: NavigationType, from: IRouteState | null, to: IRouteState | null) => void; //# sourceMappingURL=NavigationListener.d.ts.map