Open new page when User Click on any item from ion-item

后端 未结 2 393
孤城傲影
孤城傲影 2021-01-17 01:23

Here is the codepen

1) I want to open new details page, when user click on item and want to show details of that clicked item in newly opened back.
2) On details

2条回答
  •  醉酒成梦
    2021-01-17 01:55

    you should read about states and then create one for each element of you list and one for the list itself. After that all you need it's to call $state.go('nameOfState'); Not sure if there is a way to do it just with ionic itself...

提交回复
热议问题