[Vuejs]-Nativescript Vue (mobile app) – How to pass selected item data from listview in modal back to main app?

0👍

For parent-child: you can this.$emit("event", { key: 'value' }) in your modal function onAirportNameTap() and listen for it on the parent by having a :event="processEvent" binding on the custom element tag.

For modal: https://nativescript-vue.org/en/docs/routing/manual-routing/#returning-data-from-the-modal (seems to be the best way).

Hope it helps.

Leave a comment