I noticed that polymer has single import files for polymer-elements (https://github.com/PolymerLabs/polymer-elements/blob/master/polymer-elements.html) and polymer-ui-elements (https://github.com/PolymerLabs/polymer-ui-elements/blob/master/polymer-ui-elements.html), but not core-elements. There is a metadata.html inside Polymer/core-elements (https://github.com/Polymer/core-elements/blob/master/metadata.html), but that definitely doesn't look like a complete list, and the purpose of that file isn't abundantly clear (there are actually several metadata.html files in these repositories, and I'm not sure what they are use for). Is there an official single import file for polymer core-elements anywhere?

有帮助吗?

解决方案

其他提示

polymer-elements & polymer-ui-elements are now deprecated. For now use the single repositories for the core-elements & paper-elements (the Material Design elements). These are the officially supported element collections for Polymer and they are listed on the Polymer docs.

Note that this will likely change in upcoming releases where elements may not be in the same collections, but as of 0.5 the collections of elements are mostly complete & listed in the docs.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top