Saturday, May 28, 2011

Re: SuggestionBox events

Not that I know of by default, but you can pretty easily define your
own SuggestOracle (either by implementing your own or extending the
default MultiWord one) and override the requestSuggestions method to
shows the loading gif when invoked and then wrap the Callback passed
into that with your own Callback implementation that hides the loading
gif and then executes the passed in Callback.

On May 28, 8:18 am, Ilya Ilievski <ilija...@gmail.com> wrote:
> Hi,
> I want to know is it possible to know when the suggestion list from the
> server has returned? I want to display loading gif when then user types in a
> key and hide it when the suggestions are shown? Is it some event fired when
> the suggestions are returned from the server, that I can listen to?
> Thanks,
> Ilya

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment