JavaScript interoperability

The Dart web platform supports communication with JavaScript apps and libraries, as well as browser APIs, using dart:js_interop.

Web developers can benefit from using external JS libraries in their Dart code, without having to rewrite anything in Dart.



For information on how to write and use JavaScript interop:

For information on interacting with web APIs:

For tutorials and help:

For information on previous JavaScript interop libraries:

For additional documentation on JavaScript interop: