# Ionic 4 sidemenu width and height

**URL:** <https://forum.ionicframework.com/t/ionic-4-sidemenu-width-and-height/174545>\
**Category:** Ionic Framework\
**Created:** [October 1, 2019, 4:18am UTC](https://forum.ionicframework.com/t/ionic-4-sidemenu-width-and-height/174545 "2019-10-01T04:18:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KasunGamage](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/kasungamage/32/130937_2.png) [@KasunGamage](https://forum.ionicframework.com/u/KasunGamage)\
**Post date:** [October 1, 2019, 4:18am UTC](https://forum.ionicframework.com/t/ionic-4-sidemenu-width-and-height/174545/1 "2019-10-01T04:18:43Z")

</div>

does anyone knows how to get the width of the ion menu in ionic 4.when it’s comes to the ipad ,it always visible the sidemenu.here i use opentok to do some video conference part and in there i have to set some div element height and width by subtracting the width of sidemenu.

---

<div class="post-metadata">

**Author:** ![gokujy](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gokujy/32/117753_2.png) [@gokujy](https://forum.ionicframework.com/u/gokujy)\
**Post date:** [October 1, 2019, 5:26am UTC](https://forum.ionicframework.com/t/ionic-4-sidemenu-width-and-height/174545/2 "2019-10-01T05:26:00Z")

</div>

Hello,

set in my ion menu `type="overlay"`

```auto
<ion-menu type="overlay"></ion-menu>

```

The display type of the menu. Available options: “overlay”`,`“reveal”`,`“push”

Ref: [ion-menu](https://ionicframework.com/docs/api/menu)

---

<div class="post-metadata">

**Author:** ![KasunGamage](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/kasungamage/32/130937_2.png) [@KasunGamage](https://forum.ionicframework.com/u/KasunGamage)\
**Post date:** [October 3, 2019, 5:27am UTC](https://forum.ionicframework.com/t/ionic-4-sidemenu-width-and-height/174545/3 "2019-10-03T05:27:53Z")

</div>

thanks @gokujy for the replying.i got the ion-menu width by using ElementRef by help of the ionic events.
