Open MaheshSinghSawant opened 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); });
MaheshSinghSawant, did you find a solution for showing the nav bar back? I'm struggling with the same issue.
any news on this? It could be really usefull to be able to show hidden bar. Thanks
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); });