I am working on mobile device app written in JavaScript. I am wondering if there is an option to get new value of element's width when orientation was changed. I know that I can use $(window).on("orientationchange",function(){});
to catch moment when orientation is changing, but css values are not recalculated here. I also try to use attrchange plugin, but orientation changes do not causes attrchange event.
Does someone overcome this issue?