Hello guys,
I am currently trying to implement a view that have both side menu and tabs. One example could be like in Facebook application, there is a side menu in the rightside.
The problem I have is that since the ion-tabs also provide it’s own view, so it override the view made by ion-side-menu.
I was successfully re-show the view made by side menu by remove this div
<div class="pane">
</div>
and remove the view class in this.
<ion-tabs class="tabs-s42-bottom tabs-icon-only view">
I tried programmatically remove this using on-select or by ng-click.
-
ng-click: it does remove both but only when you click to the tab. It does not remove when the program start since there are no element available at that time before ionic render.
-
on-select: This function run when ionic render the tab and it select the first element. Works good to remove the class view in ion-tabs, however it does not remove the div pane since this div render later than the function call.
Before remove:
After remove:
My plan to handle tab’s view is to do it programmatically.
Was there anyone able to combine both of them? What is your approach?