Forums > Javascript

onresize() when a jsui in resized in presentation mode?

April 12, 2013 | 11:43 am

I seems to me that onresize() is called only if the size of a jsui is changed in Patching Mode. Is there a way to now when a jsui is resized in Presentation mode?


April 12, 2013 | 4:37 pm

Hi Patrick,

This is currently not supported to have a JSUI different sizes in different views and expect the onresize method to be accurate to anything other than the patching size. This probably won’t change.

However, with mgraphics, you can use mgraphics.size to kind of achieve the ability to ascertain different rects/views.


April 12, 2013 | 4:51 pm

Many thanks Ben.


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Javascript