UNPKG

@ribajs/history

Version:

History module of Riba.js

10 lines (9 loc) 276 B
import { State } from "../types/state.js"; export declare class HistoryManager { private static instance; private readonly history; constructor(); currentStatus(): State; prevStatus(): State | null; add(url: string, namespace?: string | null): void; }