Found the way to set the params directly here:
You can use both NavParams and @Input like following:
@Input() value: number;
in your modal controller.
explained better here: https://ionicframework.com/docs/api/modal
2 Likes
thanks. It works for me.
it’s not working with Lazy Loading
Thanks, this is exactly what I was looking for .
“modal.onDidDismiss()” Returns a promise that resolves when the modal is dismissed.