【发布时间】:2019-11-27 14:42:59
【问题描述】:
您好,我正在将我的部分 Web 代码转换为 ionic-vue 应用程序,我想知道我们是否可以使用经典 vue 组件的 ionic 模态控制器从我的模态中捕获 this.$emit。
基本上我想翻译
<NewAppointmentModal @onSuccess="handleAppointmentCreation"/>
到
this.$ionic.modalController.create({ component: NewAppointmentModal}).then(m => m.present())
//how can i catch the onSuccess event like before
【问题讨论】:
标签: vue.js ionic-framework ionic-vue