Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49259

How to hide/show side menu on big screens

$
0
0

Hello, so here is the deal, I can’t hide side menu on screens higher than 990px. On the screens that are bigger than 990px it is always shown and I can’t hide it.

What I tried is that I setup a button to call these functions:
On Constructor i called private ionMenu: IonMenu

then on the button:
this.ionMenu.toggle();
this.ionMenu.open();

But these only work on small screen and on on the bigger screens.

I need to hide the side menu on higher screens and the user to be able to open it or swipe to open the side menu whenever they want.

Thanks in advance, Milot.

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>