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

时间:2020-10-22 11:57:48

标签: javascript 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

0 个答案:

没有答案
相关问题