Hi All,
I want to run an action whenever my Container changes its dimension (width and height).
Is there any JS that I need to run. Kindly suggest something.
Hey Saransh,
Not really sure if I got you.
But you can do this
Hope I could help.
Hi Davide thanks for responding let me check this.
Following Davide's answer, you could use the Resize Observer API, witch has some advantages over the convencional window.addEventListener.
Okay let me go through this.