Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

IONIC version2 side menu isopen issue

$
0
0

@Gurpreet_singh wrote:

Hi I am new to ionic what I am trying to create here is if side menu is open and user click back from phone then using the if condition we will check first if isMenu open, if yes then close the menu else give ask user if he wants to exit the app
I used if condition like below
if(this.menuController.isOpen)
This returns function.

Could anyone help to share an example how it can return isOpen boolean variable

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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