Reputation: 9859
How do I import a Polymer element made with JS to Dart? Is it possible to use one automatically or do I have to translate its internal JS to Dart?
Upvotes: 2
Views: 177
Reputation: 657058
You can try to use the package https://pub.dartlang.org/packages/custom_element_apigen which is used to generate wrappers for core- and paper-elements.
See also
Upvotes: 2