@virtualstate/navigation
Version:
Native JavaScript [navigation](https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API) implementation
10 lines (9 loc) • 548 B
TypeScript
import type { NavigationCurrentEntryChangeEvent as Spec, NavigationCurrentEntryChangeEventInit, NavigationHistoryEntry, NavigationNavigationType } from "../spec/navigation";
export declare class NavigationCurrentEntryChangeEvent<S = unknown> implements Spec<S> {
type: "currententrychange";
[key: number]: unknown;
[key: string]: unknown;
readonly from: NavigationHistoryEntry<S>;
readonly navigationType?: NavigationNavigationType;
constructor(type: "currententrychange", init: NavigationCurrentEntryChangeEventInit<S>);
}