mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
refactor(nav): implement nav integration with external router (angular to start)
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user