How to active function when changing the page

So, when I root to a page I want to trigger:;

by default, how to do this?

thanks for help!

Hey @Qabrix,

Check out this blog article on Ionic lifecycle hooks for your pages:

You can then call menu.enable(false) that way.

thanks for replying :smile: