refactor(delegate): don't wrap in ion-page

This commit is contained in:
Dan Bucholtz
2018-01-09 13:22:24 -06:00
parent 09b60e05b5
commit a0121dd3bc
5 changed files with 8 additions and 21 deletions

View File

@ -23,7 +23,7 @@ export class IonNavDelegate implements FrameworkDelegate {
attachViewToDom(elementOrContainerToMountTo: HTMLIonNavElement, elementOrComponentToMount: Type<any>, _propsOrDataObj?: any, classesToAdd?: string[]): Promise<AngularMountingData> {
// wrap whatever the user provides in an ion-page
return this.angularComponentMounter.attachViewToDom(elementOrContainerToMountTo, null, elementOrComponentToMount, this.componentResolveFactory, this.injector, _propsOrDataObj, classesToAdd, true);
return this.angularComponentMounter.attachViewToDom(elementOrContainerToMountTo, null, elementOrComponentToMount, this.componentResolveFactory, this.injector, _propsOrDataObj, classesToAdd);
}
removeViewFromDom(parentElement: HTMLElement, childElement: HTMLElement) {