0

Is posibble to pass parameter with this method:

this.app.getRootNav().getActiveChildNav().select(3);

i tried:

this.app.getRootNav().getActiveChildNav().select(3, {apto: 1});

but it didnt work.

Franco Coronel
  • 710
  • 1
  • 12
  • 25

1 Answers1

0

No, according to the docs the select function only takes one parameter (tabOrIndex) specifying the tab or index to select. A quick look into the corresponding code verifies this.


To work arround this and pass data from one tab to another you can refer to this answer which offers three possible approaches to this problem.

Phonolog
  • 6,321
  • 3
  • 36
  • 64