@ionic/vue-router
Version:
Vue Router integration for @ionic/vue
14 lines (13 loc) • 677 B
TypeScript
import type { RouteInfo } from "./types";
export declare const createLocationHistory: () => {
current: (initialHistory: number, currentHistory: number) => RouteInfo;
size: () => number;
last: () => RouteInfo;
add: (routeInfo: RouteInfo) => void;
canGoBack: (deep: number, initialHistory: number, currentHistory: number) => boolean;
update: (routeInfo: RouteInfo) => void;
getFirstRouteInfoForTab: (tab: string) => RouteInfo | undefined;
getCurrentRouteInfoForTab: (tab: string) => RouteInfo | undefined;
findLastLocation: (routeInfo: RouteInfo, delta?: number) => RouteInfo | undefined;
clearHistory: (routeInfo?: RouteInfo) => void;
};