How to replace navparam.example.data (ionic 4)

#1

Hello everybody, i’m searching a way to replace this function since navparam doesn’t work anymore

this.toc = navParams.data.toc;

#2

Hello,
hmmm navparams is part of @ionic/angular and works as expected. Maybe you should provide code and error message.

Best regrads, anna-liebt

#3

For your information i writed ionic 4, the version which replaced navcontroller and navparameter by angular router

Le lun. 21 janv. 2019 à 18:58, Anna Liebt via Ionic ionicframework@discoursemail.com a écrit :

#4

Hello,
I use on 4.0.0.rc.0 both. I use it In component, that use navParams in constructor. Also angular routes for routing pages. Both are working here.

Best regards, anna-liebt