how to pass parameters to modal popup?
问题 I am working on Nativescript application where i need to open view on click of list item. So i will have to pass id of that item to the modal that is about to open on click of list item. Here is my code as i tried and for opening modal popup : var modalPageModule = views.appointmentDetails; var context = { id: args.view.bookingId // i tried this way for passing parameter }; var fullscreen = true; page.showModal(modalPageModule, context, function closeCallback(parameters) { // Log the user in.