How to call a jQuery function from Dart?
You can do :
main() { js.context.callMethod(r'$', ['.myClass']) .callMethod('myFunction', [new js.JsObject.jsify({'aKey': 'some value'})]);}
You can use the build-in funcitons querySelector or querySelectorAll instead of the jQuery selector. So it would be:
main(){ querySelector(".myClass").myFunction(){ aKey: 'some value' } }
or for mulitple elements:
main(){ querySelectorAll(".myClass").myFunction(){ aKey: 'some value' } }