Cristian Garcia
Cristian Garcia

Reputation: 9859

Import JavaScript Polymer element to Dart

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

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

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

Related Questions