I need help


Took several days trying to hide the nav bar from a scroll in the ion content.

The code used is generated:
ionic start myApp sidemenu

I wish I could hide the ion-nav-bar if the top of the ion-content exceeds 50px and unhide if less than 50px:

Any help?

Thank you very much for everything.