Bind to DOM event with GwtQuery

211 Views Asked by At

How to do this similar function with GwtQuery:

$(document).ready(function(){
    $('#test_div').bind('DOMNodeInserted DOMSubtreeModified DOMNodeRemoved', function(event) {
        alert('Changed');
    })
})

I think the question here would be the right GWT DOM event to bind to with GwtQuery

1

There are 1 best solutions below

0
Manolo Carrasco Moñino On BEST ANSWER

Unfortunatelly GQuery does not support those events. There is an issue opened to change the events mechanism used in gquery, and eventually this would fix this problem. Post a +1 in this issue adding this case or open a new issue.