是否有Dart的google-youtube webcomponent端口 [英] Is there a port of google-youtube webcomponent for Dart

查看:250
本文介绍了是否有Dart的google-youtube webcomponent端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近找到了以下网络组件
https://github.com/GoogleWebComponents/google -youtube
这是一个聚合物网络组件,包装所有必要的逻辑为YouTube播放器。有Dart的端口吗?我知道有一些解决方案写在Dart,但问题是,它们不是作为一个Web组件。



所以我的问题是: / p>

这种实现是否存在于Dart中,还是计划实现,是作为现有组件的封装还是新的组件?

解决方案

您可以尝试使用 https://pub.dartlang.org/packages/custom_element_apigen ,用于为核心和纸张元素生成包装器。


I recently found the following web component https://github.com/GoogleWebComponents/google-youtube It's a polymer web component that wraps all the necessary logic for youtube player. Is there a port of it for Dart? I'm aware that there are some solutions for that written in Dart, but the problem is that they are not done as a web components.

So my question is:

Does such implementation exist in Dart or is it planned to be implemented, be it as a wrapper around the existing component, or a new one?

解决方案

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.

这篇关于是否有Dart的google-youtube webcomponent端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆