Hello There,
when you use the method resize() and play with the Adaptive view of your browser (developper tools, adaptive view options).
You have many calls to this method with a progressive changes of the viewPort.width and height value.
But you don’t know exactly when the resize() is finish to have the final values after the resize is finished.
Example :
<div id=”resize”></div>
var response = new $.jqx.response();
response.resize(function(){
var html = “<p>” + “width : ” + response.viewPort.width + ” height : ” + response.viewPort.height + “</p>”;
$(“#resize”).append(html) ;
})
Hope that you understand what I mean.
Best regards,
Franck Beugin