matth3o matth3o - 2 months ago 11
Dart Question

dart angular2 - non standard javascript event

I'd like to listen on a non standard javascript event

dp.change
.

How can I do this ?

Thanks for your help.

Answer

You can listen to any event this way

someElement.on['dp.change'].listen(...)

or

window.on['dp.change'].listen(...)
Comments