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

Ionic v4 how to fire menu event

$
0
0

@Ptaszek wrote:

Hello everyone,

I’m kinda new in Angular and ionic 4 and have propably a small problem, i want to detect event fire on menu open and close.

On ionic documentation i found this events:

ionDidClose
ionDidOpen

But how to use that?

I already tryied to run it like that: (ionOpen)=“menuOpened()” (ionClose)=“menuClosed()” and inside app.component.ts i add this 2 functions with console.logs under constructor, but nothing happend when i open and close menu.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70754

Trending Articles



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