I want to execute one function, after my window is fully resized.
window.resizeTo('792','115');
myFunction();
My question :
1.Does the myFunction()
method will be called only after the window is fully resized ?
2.If yes mean no problem for me, else I want the below scenario ?
My need :
I need a pure Javascript solution.
if(windowIsFullyResized){
myFunction();
}else{
// wait for window resize and again call myFunction();
}
How can I achieve this?