문제

Is there a way to use existing Polymer standard core elements , such as core-toolbar and core-menu, in Dart?

If you download the polymer project with bower you can find the javascript versions in /polymer/bower-components/.

core-toolbar, for instance, contains a core-toolbar.html and a metadata.html. These have <polymer-element> tags in them just like in Dart. Can these be adapted?

도움이 되었습니까?

해결책 2

I found this issues:

As mentioned in my comment alternatively you could use the Dart port of polymer_elements and polymer_ui_elements

다른 팁

In the meantime, an official package has arrived:

http://pub.dartlang.org/packages/core_elements

And you can even have the paper elements of the material design:

http://pub.dartlang.org/packages/paper_elements

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top