How to get the width of an ionic component in Ionic 4? eg: ion-grid

453 views Asked by At

I want to create a perfect square with width=height. Width depends on the the view width of the page. I'm using ion-grid as the root of my custom component. How to get the height of ion-grid?

0

There are 0 answers