打开新页面时用户点击任何项目从离子项目 [英] Open new page when User Click on any item from ion-item
问题描述
下面是 codePEN
1)我想打开新的项目详细信息页面,当用户点击要显示开回新的单击项目的详细情况。结果
2)在详细信息页面会有确定按钮,如果该按钮用户点击那么这将是回到列表页面。结果
3)我怎么能显示在列表项的右侧明显的圆圈图标。
我怎样才能做到这一点?我花了2个小时,但我还没有发现任何可行的解决方案。
请帮助我。我离子和角JS是新。
你应该了解的 的状态,然后创建一个每个元素的您列出一个用于列表本身。之后,所有你需要它的调用 $ state.go('nameOfState');
不知道是否有一种方法只是离子本身... 做p>
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 page there would be "OK" button if user click on that button then it would be back to list page.
3) How Can i show marked circle icon on right side of the list item.
How Can I do this? I spent 2 hours but I have not found any working solution.
Please help me. I am new in ionic and angular js.
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...
这篇关于打开新页面时用户点击任何项目从离子项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!