Getting all clicked events in another page in Ionic Project

104 views Asked by At

I have an Ionic project and I try to store an operation history. For example; I added some information through "food" form, "accommodation" form and "transportation" form. In each form I have a button related with them. I want to display all completed operations after clicking each button. For instance, when I add a food info by clicking food button, I should be directed to Completed Operations Page and see the completed operation like "You entered a food info". Then when I add a transportation info by clicking transportation button again I should be directed to Completed Operations Page and see the all completed operation like "You entered a food info" "You entered a transportation info".

How can I do that ?Screenshot1 Screenshot2

1

There are 1 answers

3
Olli On

You'll use $state.go() to navigate to the page once the operation is complete and you can display each information on the completed operations page using an Ionic list.

Store each transaction first in the local storage of the device and then use that to display the list.