Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9041

Re: Using Router to pass data between views

$
0
0

Hi Serigo,

 

I am having the same issue as yours and tried the below code as suggested by you.

routing.navTo('viewId', { id: JSON.stringify({id1:"abc",id2:"xyz"}) }, false);


the json is passed as an string but I still can't use below code.

event.getParameter('arguments').id.id1;     //shows undefined

event.getParameter('arguments').id1;         //shows undefined


Can you please suggest.


Thanks


Viewing all articles
Browse latest Browse all 9041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>