UNPKG

1.58 kBTypeScriptView Raw
1import { Location } from '@angular/common';
2import { ViewContainerRef, ElementRef, NgZone } from '@angular/core';
3import { Router, ActivatedRoute } from '@angular/router';
4import { IonRouterOutlet as IonRouterOutletBase } from '@ionic/angular/common';
5import * as i0 from "@angular/core";
6export declare class IonRouterOutlet extends IonRouterOutletBase {
7 readonly parentOutlet?: IonRouterOutlet | undefined;
8 /**
9 * `static: true` must be set so the query results are resolved
10 * before change detection runs. Otherwise, the view container
11 * ref will be ion-router-outlet instead of ng-container, and
12 * the first view will be added as a sibling of ion-router-outlet
13 * instead of a child.
14 */
15 outletContent: ViewContainerRef;
16 /**
17 * We need to pass in the correct instance of IonRouterOutlet
18 * otherwise parentOutlet will be null in a nested outlet context.
19 * This results in APIs such as NavController.pop not working
20 * in nested outlets because the parent outlet cannot be found.
21 */
22 constructor(name: string, tabs: string, commonLocation: Location, elementRef: ElementRef, router: Router, zone: NgZone, activatedRoute: ActivatedRoute, parentOutlet?: IonRouterOutlet | undefined);
23 static ɵfac: i0.ɵɵFactoryDeclaration<IonRouterOutlet, [{ attribute: "name"; }, { attribute: "tabs"; optional: true; }, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
24 static ɵcmp: i0.ɵɵComponentDeclaration<IonRouterOutlet, "ion-router-outlet", never, {}, {}, never, ["*"], false, never>;
25}