cranberrygame / cordova-plugin-navigationbar

Other
24 stars 15 forks source link

How to show navigationbar #9

Open MaheshSinghSawant opened 7 years ago

MaheshSinghSawant commented 7 years ago

So by adding an event(swipe left) i am able to hide the navigation bar. but now i wish to show it again on swiperight. How do i do this? My code is :

$(renderer.doc).on("swipeleft",function(){ var autoHideNavigationBar =true; window.navigationbar.setUp(autoHideNavigationBar); window.navigationbar.hideNavigationBar(); });

$(renderer.doc).on("swiperight",function(){ autoHideNavigationBar =false; window.navigationbar.setUp(autoHideNavigationBar); });

ghost commented 7 years ago

MaheshSinghSawant, did you find a solution for showing the nav bar back? I'm struggling with the same issue.

Nightbr commented 6 years ago

any news on this? It could be really usefull to be able to show hidden bar. Thanks