如何在HTML中包含Polymer纸张下拉菜单?

问题描述

如何在HTML中包含polymer纸张下拉菜单

我在StackOverflow上看到了许多不同的答案,但是它们不再起作用了。

我看到有人说他/她正在使用这些代码包括polymer paper-dropdown-menu

<script src="https://rawgit.com/webcomponents/webcomponentsjs/master/webcomponents-lite.js"></script>
<link rel="import" href="http://polygit.org/components/polymer/polymer.html">
<link rel="import" href="http://polygit.org/components/iron-selector/iron-selector.html">
<link rel="import" href="http://polygit.org/components/paper-dropdown-menu/paper-dropdown-menu.html">
<link rel="import" href="http://polygit.org/components/paper-button/paper-button.html">
<link rel="import" href="http://polygit.org/components/paper-menu/paper-menu.html">
<link rel="import" href="http://polygit.org/components/paper-item/paper-item.html">
<link rel="import" href="http://polygit.org/components/iron-form/iron-form.html">
<link rel="import" href="http://polygit.org/components/iron-input/iron-input.html">

但是似乎链接不再起作用。

官方Project链接也不起作用

https://www.polymer-project.org/components/paper-dropdown-menu/demo.html

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)