mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
20 lines
552 B
TypeScript
20 lines
552 B
TypeScript
import type { AnimationBuilder } from '@ionic/core/components';
|
|
|
|
import type { RouteAction } from './RouteAction';
|
|
import type { RouterDirection } from './RouterDirection';
|
|
|
|
export interface RouteInfo<TOptions = any> {
|
|
id: string;
|
|
lastPathname?: string;
|
|
prevRouteLastPathname?: string;
|
|
routeAction?: RouteAction;
|
|
routeDirection?: RouterDirection;
|
|
routeAnimation?: AnimationBuilder;
|
|
routeOptions?: TOptions;
|
|
params?: { [key: string]: string | string[] };
|
|
pushedByRoute?: string;
|
|
pathname: string;
|
|
search: string;
|
|
tab?: string;
|
|
}
|