Navigate to tab passing parameter


Navigate to tab passing parameter



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.




1 Answer
1



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.


select


tabOrIndex



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.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Export result set on Dbeaver to CSV