Is there such a thing in GWT to handle event when elements are added to a specific DIV?
From this answer there is jQuery solution:
Fire jQuery event on div change
$('body').on('DOMNodeInserted', '#common-parent', function(e) {
if ($(e.target).attr('class') === 'myClass') {
console.log('hit');
}
});
You can integrate jquery method by using jsni.
At first you need to create corresponding gwt like event:
and gwt like handler:
then implement jsni wrapping function
and at last add your handler to corresponding panel