How to do sidemenu on top of main content?

I’m new to ionic and I want to do simple toggle(hide/show on click) sidemenu which overlays the main content area not drags the main content to side. how to achieve this in ionic. many thanks.

Were u able to solve this issue?

You can just create a basic side menu then set the style to cover the content on iOS, it already covers the content on android and windows. In your app.module.ts add this…

imports: [
  IonicModule.forRoot(MyApp,{
    menuType: 'overlay'
  })
],

If overlay isn’t the type you want then change overlay to push.

See the heading menu type:

Edit: I just realised this said ionic1 but my solution is for ionic2

Maybe someone can offer an ionic 1 solution.