2
votes

Anybody knows whether it's possible to use regular html 5/javascript web component(s) libraries in a Dart application? I think starting from now a lot of web component libraries in html 5/javascript will arise that will be of use for developing Dart applications. As long as there will be no Dart Polymer equivalents those components will not be usable and we are bound to web components written in Dart is it?

Simply including the polymer.min.js in a Dart application throws an error? Maybe it's not that simple ;-)

Thanks,

Daniel.

1

1 Answers

0
votes

Update 2: If you can't wait, try this :-)

Update: Okay, now I understand. You have to wait, see here. "Polymer base elements" and "Polymer UI elements" are assigned as "Not started". Everything in Dart is now in live developing, so I think, we all, have to wait until they have it complete. I'm now waiting for circa 4 libraries for Dart, which might be completed soon, and your Polymer UI elements are going to be finished within the next few weeks... I think, there can never be any port for JS libraries, until anybody rewrites it by hand in Dart. You can join the developer club and help them to rewrite Polymer UI elements faster ;-)


"Simply including the polymer.min.js in a Dart application throws an error?"

Can you describe, what did you mean with this? I think you should include Dart Polymer Library and not JavaScript Polymer (see here or here)...