Thursday, July 31, 2014

Re: Firing Custom Event in GWT

Depends on what you do in your eventhandler? 
if you do expensive calculations yes, then there will be a performance issue. If not it doesn't matter. 

A common practice is to set a buffer the changes with a Timer. 

On Wednesday, July 23, 2014 7:36:27 AM UTC+2, Mohammed Sameen wrote:
Hi All,
In my GWT application,I have written my own custom event for enabling the button whenever the text box (or some other filed) is edited.The event is keep on  firing whenever there is a change is text box.Is there any performance issue.Is there any way to fire the event only once?Please give your suggestion.Thanks in Advance..

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment