polymer dart vs polymer js: does it matter when using the component?

和自甴很熟 提交于 2019-12-05 12:15:10

When you build it in JavaScript you should be able to use it in Dart. There are some problems and it might need some manual tweaking to make it work. This is work in progress and will become easier soon (for example bower support for Darts pub).

There is a package that helps generating a wrapper for Polymer.js elements to be easily used in Dart https://pub.dartlang.org/packages/custom_element_apigen

When you build it in Dart you can use it only in a Dart application but not in a JavaScript app.
This may change in the future but not to soon I guess but as I understand it this is work in progress.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!