user743489
user743489

Reputation:

gwt-query: resize event

I was wondering if there is some kind of workaround for catching resize event completion on GWT-query. I've tryied to do it by $().resize() but it was no good. I've also thaught about catching mouseout event, but it doesn't work at leaving resize ui-grab icon.

Any idea? thanks in advance!

Upvotes: 1

Views: 373

Answers (2)

user2478687
user2478687

Reputation:

See into this thread. It seems to be a good approach to get what you want.

Upvotes: -1

jdramaix
jdramaix

Reputation: 1104

$(GQuery.window).resize(new Function(){
    public void f(){
      //Do something here when the window is resized
    }
}

Should work (resize event is sent on the window element only). If not, please open an issue here : http://code.google.com/p/gwtquery/issues/list

Upvotes: 1

Related Questions