appframework
appframework copied to clipboard
I try hidden the back button?but can't
setBackButtonVisibility(false)
i think it's not work?
.view header .backButton { visibility:hidden; }
setBackButtonVisibility(false);
Seems that when used with 'panelload', it will currently only work the second time a panel with the header is loaded.
Try using:
$(".backButton").css("visibility", "visible");
$(".backButton").css("visibility", "hidden");
Hi, @holmberd, i think the behavior of the BackButton only showing after second panel is loaded, happens because when the 1st panel is loaded there is nowhere to go "back" to.
Hi @bugre, yes that would be the correct logic. That is currently not the case for me, as I have two panels loaded before setting the header to visible, i.e third panel in. But in all fairness I didn't give it much testing as the solution was faster. Thanks tho.
Hi @holmberd , happy to help/share. If you still wanna invest some time, may be take a look at the short/quick sample i've added to this case at Intel Forums (https://software.intel.com/en-us/forums/app-framework/topic/560985#comment-1848859). It's a while since i wrote it, and if i remember correctly at that time the behavior was as i expected.