Forums > Javascript

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


Apr 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?

p

Apr 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.

-Ben

Apr 12 2013 | 4:51 pm

Many thanks Ben.

p

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

Forums > Javascript