mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): resolve merge conflicts
This commit is contained in:
@@ -27,6 +27,7 @@ export class ModalComponent {
|
||||
async open(TheModalComponent: any) {
|
||||
const modal = await this.modalCtrl.create({
|
||||
component: TheModalComponent,
|
||||
animated: false,
|
||||
componentProps: {
|
||||
value: '123',
|
||||
prop: '321'
|
||||
@@ -40,7 +41,7 @@ export class ModalComponent {
|
||||
modal.onDidDismiss().then(() => {
|
||||
NgZone.assertInAngularZone();
|
||||
if (!this.onWillDismiss) {
|
||||
throw new Error('onWillDismiss should be emited first');
|
||||
throw new Error('onWillDismiss should be emitted first');
|
||||
}
|
||||
this.onDidDismiss = true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user