Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48978

Vue tabs oniondidenter reload data

$
0
0

Is it possible to reload the component’s data when pressing the back button within Ionic Tabs? I can get an alert for onIonDidEnter but only from within setup() which is no good to me as I can refresh the data of the component from that function - I need access to a function within methods, or this.$store - which also doesn’t seem possible from vue setup().

Essentially I am loading data from $store in one page, navigating to another within the same tab, making an action which will add a key to storage, pressing back navigation and the first page needs to update the data (removing the item which key is in storage).

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 48978

Trending Articles