keshav godani
keshav godani

Reputation: 105

Ionic 4 side menu full screen

create a full screen ionic side menu in ionic 4

I want a create ionic 4 side menu in full screen Like this Image

I want a create ionic 4 side menu in full screen Like this Image Image below :-

I want a create ionic 4 side menu in full screen Like this Image

Upvotes: 1

Views: 2073

Answers (2)

Monomachus
Monomachus

Reputation: 1478

You can use the CSS custom property to show it fullscreen

ion-menu {
    --min-width: 100%;
  }

Upvotes: 9

dgbt
dgbt

Reputation: 251

You can use a Modal from the ModalController to do this fullpage Things: See how it will look with preview in the API v3: https://ionicframework.com/docs/v3/api/components/modal/ModalController/

Use for your ionic4 for the new API: https://ionicframework.com/docs/api/modal-controller

you just need to add another Component and load it via the Modal Controller.

Upvotes: 0

Related Questions