I am trying to listen to the jQuery onchange
event in dart as the native onchange event is not firing when using a jQuery date picker.
Here is my current code
js.context.jQuery("#venueDatePicker").on("change", new js.Callback.many((e, data) {
print("Will be executed");
}));
Here is the error i am getting
malformed type: line 61 pos 63: type 'js.Callback' is not loaded
js.context.jQuery("#venueDatePicker").on("change", new js.Callback.many((e, data) {