小编Ram*_*ify的帖子

如何使用离子模态控制器捕获模态 this.$emit

您好,我正在将我的一些网络代码转换为 ionic-vue 应用程序,我想知道我们是否可以使用经典 vuecomponent 的 ionic 模态控制器从我的模态中捕获 this.$emit。

基本上我想翻译

<NewAppointmentModal @onSuccess="handleAppointmentCreation"/>
Run Code Online (Sandbox Code Playgroud)

this.$ionic.modalController.create({ component: NewAppointmentModal}).then(m => m.present())
//how can i catch the onSuccess event like before 
Run Code Online (Sandbox Code Playgroud)

ionic-framework vue.js ionic-vue

4
推荐指数
1
解决办法
870
查看次数

标签 统计

ionic-framework ×1

ionic-vue ×1

vue.js ×1