I am unable to find any proper resource and I have tried multiple items including the following code:
this.navCtrl.setRoot('xxxxx')
How do I deselect a tab on leaving the page?
Related
Good Morning (or afternoon). I have a form that contains several tabs (organized sections) and then an edit button. What I want to do is, EDIT the information based on the active tab (Tombstone/Sales/Dates). How do I pass to the controller the active tab and then redirect to the proper Template?
Section to Edit
I hope you can see the link. I was not able to add an attachment.
I am using Ionic v3 and need to implement a page where i have few tabs on bottom of the home screen to navigate to all other sections of the application. Implemented the same by starting ionic tabs template in starting using ionic start exapp tabs with multiple tabs available in the footer of the application, but now in one tab selected navigate to I need to implement two tabs on the top just after the toolbar. Applicable only for that page but am unable to do so. refereed to Ionic tabs documentation link but unable to resolve the issue.
For better explanation of the question we can consider the example below where I need the nested option to come only on the option tab click.
I know we can pass data to the child tab from parent tab by doing following as described here:
<ion-tabs>
<ion-tab [root]="chatRoot" [rootParams]="chatParams" tabTitle="Chat" tabIcon="chat"><ion-tab>
</ion-tabs>
Is there any way I can do the reverse stuff i.e passing the data from child tab to parent tab.
I have the following scenario:
1. I have "next" button on the the Tabs(parent) page.
2. When user selects the value on the child page then I need to navigate the user to next page based on the selected value when he clicks next.
I have met your problem. you should use Events in Ionic 2 for sending and responding to application level across your app. So you can send data from child tab to parent tab and update status for it.
In my eclipse application when more than 3 views are open, I need a drop down as shown in picture clicking on which gives me the list of rest of the views.
Does anyone have any idea for the following scenario?
I do have a tab sample and some tab views will integrate with the search bar view/function at the navigation bar.
Views from search results are actually live in some tabs.
How can I share the view of the search results on a certain tab where I have searched for items.
(note that view of a search result is actually live in one of the available tabs)
Here is an example:
I do have three tabs on my platform as follows:
each of the tabs will have the search bar.
Home | Map | More
I do have a profile view at the "More" tab.
If the user searches for a profile at the "Home" tab, how can I show the existing profile view at the home tab instead?
Besides that, I would like to make sure the navigation stack for any search results are always staying at the place where the user trigger search function. In this case, any search result navigation stack will
be tracked and displayed at the "Home" tab instead.
You help will be much more appreciated.