mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.6 KiB
42 lines
1.6 KiB
import { Location } from '@angular/common';
|
|
import { ComponentRef, NgZone } from '@angular/core';
|
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
import { NavController } from '../../providers/nav-controller';
|
|
import { RouteView, StackDidChangeEvent } from './stack-utils';
|
|
export declare class StackController {
|
|
private containerEl;
|
|
private router;
|
|
private navCtrl;
|
|
private zone;
|
|
private location;
|
|
private views;
|
|
private runningTask?;
|
|
private skipTransition;
|
|
private tabsPrefix;
|
|
private activeView;
|
|
private nextId;
|
|
constructor(tabsPrefix: string | undefined, containerEl: HTMLIonRouterOutletElement, router: Router, navCtrl: NavController, zone: NgZone, location: Location);
|
|
createView(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): RouteView;
|
|
getExistingView(activatedRoute: ActivatedRoute): RouteView | undefined;
|
|
setActive(enteringView: RouteView): Promise<StackDidChangeEvent>;
|
|
canGoBack(deep: number, stackId?: string | undefined): boolean;
|
|
pop(deep: number, stackId?: string | undefined): Promise<boolean>;
|
|
startBackTransition(): Promise<boolean> | Promise<void>;
|
|
endBackTransition(shouldComplete: boolean): void;
|
|
getLastUrl(stackId?: string): RouteView | undefined;
|
|
/**
|
|
* @internal
|
|
*/
|
|
getRootUrl(stackId?: string): RouteView | undefined;
|
|
getActiveStackId(): string | undefined;
|
|
/**
|
|
* @internal
|
|
*/
|
|
getActiveView(): RouteView | undefined;
|
|
hasRunningTask(): boolean;
|
|
destroy(): void;
|
|
private getStack;
|
|
private insertView;
|
|
private transition;
|
|
private wait;
|
|
}
|
|
|