Delete data from navParams

#1

Hi,
i want to make “navParams” empty after first use. Is there any method like “navParams.set()”
or any empty(), destroy() method for navParams.
Thank you

#2

If you elaborate your query, it would be easy to answer. Why do you want to empty nav params ? can’t you use different names for your nav params ?

#3

I have tried to do the same in the past, wasn’t able to find a method. I ended choosing an other way :slight_smile:

#4

just
this.navParams.data = null;
or you can set what you want

#5

What reason you need to delete data from navParam???