-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Description
I was wondering if there is a good solution to hide the header on certain views?
For Example: In my app I have a homescreen where I don't want a header. On all other views I would like to display the header with the back button as usual.
I came up with this somewhat ugly solution:
function pushView(view) {
window.viewNavigator.pushView( view );
if(view.title === 'Home')
{
jQuery('.viewNavigator_content').css('top', 0)
}
else
{
jQuery('.viewNavigator_content').css('top', '46px')
}
}
This however requires to also check everytime I press the backbutton etc...
Is there a more elegant solution? Thanks in advance for your help!
Metadata
Metadata
Assignees
Labels
No labels