Passing Dart objects to js functions in js interop
问题 I've been playing around a bit with the new js interop of dart. So far everything was very straight-forward. But one thing I'm not sure about is how to deal with js stuff like this: MathJax.Hub.Config({ showProcessingMessages: false, showMathMenu: false .. many other different options }); I can translate the MathJax.Hub.Config part: @JS('MathJax') external MathJaxClass get MathJax; class MathJaxClass { external HubClass get Hub; } @JS('MathJax.Hub') class HubClass { external void Config