How do I know when getBounds Method is ready to be called.

Posted on 16th Feb 2014 by admin

I have an application that changes out stylesheets client side. Once I change stylesheet the browser changes immediately but there is a lag until the Sys.UI.DomElement.getBounds method will return the true size. I assume it's parsing stylesheets? After I make stylesheet changes, is there any way to know when getBounds is ready to be called?

Other forums