Icenium Graphite Show / Hide Footer tab

95 Views Asked by At

i have Mobile application in Icenium Graphite.

i have footer with tabs.

but i don't want to show all the tabs at once to user.

on login i want to show some tabs and so on.

i have tried using

                $("#addVehicle").show();
                $("#addVehicle").removeAttr("style");
                $("#addVehicle").attr("style", "display:block");

and style="display:none" at addVehicle but it is not working.

Also i tried data-role="view" and data-bind="invisible: isLoggedIn" but it is not for hiding or showing just a single tab.

Is there any solution for this?

1

There are 1 best solutions below

2
On

In the data-show event of the view you are navigating to after login, you should be able to hide/show tabs by id. Have you tried that? If not, please provide a jsfiddle example.