feat(core): support for bootstrap with custom zone (#17672)
PR Close #17672
This commit is contained in:

committed by
Igor Minar

parent
6e1896b333
commit
344a5ca545
@ -572,9 +572,9 @@ export class UpgradeAdapter {
|
||||
constructor() {}
|
||||
ngDoBootstrap() {}
|
||||
}
|
||||
(platformRef as any)
|
||||
._bootstrapModuleWithZone(
|
||||
DynamicNgUpgradeModule, this.compilerOptions, this.ngZone)
|
||||
platformRef
|
||||
.bootstrapModule(
|
||||
DynamicNgUpgradeModule, [this.compilerOptions !, {ngZone: this.ngZone}])
|
||||
.then((ref: NgModuleRef<any>) => {
|
||||
this.moduleRef = ref;
|
||||
this.ngZone.run(() => {
|
||||
|
Reference in New Issue
Block a user