gpt4 book ai didi

Dart 聚合物 - javascript Web 组件

转载 作者:行者123 更新时间:2023-12-03 03:06:46 27 4
gpt4 key购买 nike

任何人都知道是否可以在 Dart 应用程序中使用常规的 html 5/javascript Web 组件库?我认为从现在开始,将会出现很多 html 5/javascript 中的 Web 组件库,它们将用于开发 Dart 应用程序。只要没有 Dart Polymer 等价物,这些组件就无法使用,并且我们必须使用 Dart 编写的 Web 组件,是吗?

简单地在 Dart 应用程序中包含 polymer.min.js 会引发错误?也许不是那么简单;-)

谢谢,

丹尼尔。

最佳答案

更新 2:如果你等不及了,试试this :-)

更新:好的,现在我明白了。您必须等待,请参阅 here . “Polymer 基本元素”和“Polymer UI 元素”被指定为“未启动”。 Dart 中的所有内容现在都在实时开发中,所以我认为,我们所有人都必须等到他们完成。我现在正在等待大约 4 个用于 Dart 的库,它们可能很快就会完成,并且您的 Polymer UI 元素将在接下来的几周内完成......我认为,JS 库永远不会有任何端口,直到任何人都可以在 Dart 中手动重写它。您可以加入开发者俱乐部并帮助他们更快地重写 Polymer UI 元素 ;-)

"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)...

关于Dart 聚合物 - javascript Web 组件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20102418/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com