|
Re: Getting resize events from js [message #993224 is a reply to message #991820] |
Sun, 23 December 2012 20:10 |
Tim Buschtoens Messages: 396 Registered: July 2009 |
Senior Member |
|
|
Hi.
As far as i know there is no way to get a resize event directly from a
DOM element. The quick solution would be to only use % or set it from
the server. But perhaps this is something where RAP API should support a
custom widget developer with a resize event. If you think so, open an
enhancement request on the RAP bugzilla where we could discuss this.
Thanks,
Tim
Am 20.12.2012 10:16, schrieb Christian Hager:
> Hi, I'm trying to build a custom widget based on the custom widget
> template from https://github.com/tbuschto/customWidgetTemplate. Up to
> now almost everything worked quite well.
> There is just one thing I couldn't figure out up to now and I was
> wondering if anyone here could give me a hint on how to solve this.
> How can I get a resize event in the javascript when the widget is
> resized? I need to resize the contents of the widget when the widget is
> resized and since there is no need to communicate with the server I
> thought it would be best to do this in the js.
>
> Thanks in advance for any help or hints.
>
> Christian
--
Tim Buschtöns
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
[Updated on: Fri, 28 December 2012 13:53] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01669 seconds