Thursday, July 13, 2017

Re: How to detect removed element in GWT

Might require a deferred op. I have done stuff with add/removing and it seems to work best to do the op then continue everything else in a deferred.


On 07/13/2017 04:14 PM, Jens wrote:
AFAICT this should have worked. Given that Elements in GWT are pretty close to the real JS API I don't see a reason why this should not work. Maybe you have a bug somewhere in your code? Are you sure that other class removes the correct element?

In pure  JS it works https://jsfiddle.net/08sh6nhz/ and the generated GWT code shouldn't be that different.

-- J.
--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment