How to replace (ionic 4)

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

this.toc =;

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

Best regrads, anna-liebt

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 a écrit :

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