refactor(nav): implement nav integration with external router (angular to start)

This commit is contained in:
Dan Bucholtz
2018-02-13 00:02:48 -06:00
committed by GitHub
parent 3fa8623cfe
commit edeb1324c9
91 changed files with 2387 additions and 3894 deletions

View File

@ -3,10 +3,10 @@ import {
Directive,
ElementRef,
Injector,
Optional,
Type,
} from '@angular/core';
import { FrameworkDelegate } from '@ionic/core';
import { AngularComponentMounter, AngularEscapeHatch } from '..';
@ -22,10 +22,10 @@ export class IonNav implements FrameworkDelegate {
public elementRef: ElementRef,
protected angularComponentMounter: AngularComponentMounter,
protected cfr: ComponentFactoryResolver,
protected injector: Injector) {
protected injector: Injector
) {
this.elementRef.nativeElement.delegate = this;
}
attachViewToDom(elementOrContainerToMountTo: HTMLIonNavElement,