Reputation: 2173
I have a modal popup with custom page in Nativescript. I am calling open popup as below
var modalPageModule = 'components/appointmentDetails/tabs/location/location';
var context = args.context;
var fullscreen = false;
page.showModal(modalPageModule, context, function closeCallback(location, address) {
}, fullscreen);
On popup i have a close button from where modal popup should be closed.
But from the reference site i could not find anything helpful method to close modal popup.
Thanks in advance.
Upvotes: 1
Views: 2653