Skip to main content
added 20 characters in body
Source Link
Günter Zöchbauer
  • 648k
  • 230
  • 2k
  • 1.6k

I tried passing parameters in push method of ionic2. like this this.nav.push(SecondPage, { thing1: data1, thing2: data2 }); but

this.nav.push(SecondPage, {
    thing1: data1,
    thing2: data2
});

but is there any way to pass parameter in pop().

I tried passing parameters in push method of ionic2. like this this.nav.push(SecondPage, { thing1: data1, thing2: data2 }); but is there any way to pass parameter in pop().

I tried passing parameters in push method of ionic2. like this

this.nav.push(SecondPage, {
    thing1: data1,
    thing2: data2
});

but is there any way to pass parameter in pop().

Source Link
Akash Rao
  • 930
  • 3
  • 12
  • 25

How to pass parameters in pop method of ionic2

I tried passing parameters in push method of ionic2. like this this.nav.push(SecondPage, { thing1: data1, thing2: data2 }); but is there any way to pass parameter in pop().