How to show right menu when left menu item is selected?


So, I am making an ionic app where when user clicks on an item of left menu panel it should open the right menu panel. That is i have created 2 menus and i want when some item of left menu panel is clicked right menu panel opens up showing its corresponding sub menus!
Can someone help me with the code! And I want the solution with ionic 3 compatibility. I dont want any Ionic v1 solutions!