quarks
quarks

Reputation: 35346

Bind to DOM event with GwtQuery

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

Upvotes: 0

Views: 188

Answers (1)

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.

Upvotes: 1

Related Questions