appframework icon indicating copy to clipboard operation
appframework copied to clipboard

I try hidden the back button?but can't

Open dajiaman opened this issue 10 years ago • 5 comments

setBackButtonVisibility(false)

i think it's not work?

dajiaman avatar May 13 '15 03:05 dajiaman

.view header .backButton { visibility:hidden; }

pavurya avatar May 25 '15 00:05 pavurya

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");

holmberd avatar Dec 31 '15 21:12 holmberd

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.

bugre avatar Jan 03 '16 10:01 bugre

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.

holmberd avatar Jan 04 '16 03:01 holmberd

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.

bugre avatar Jan 04 '16 12:01 bugre