I have a scenario, if div element width changes, i need to perform some functionality. So is there any way to detect that element width changes (not window resize).
for Example, I have a DIV element with the width 300px and my window is 800px while rendering the page. When i trigger a function, i changed the div element width to 400px, so for that default width change i need to perform some actions, so is there any way to detect in pure javascript for the element size change ?