gpt4 book ai didi

html - Polymer 核心图标在 FireFox 中不呈现

转载 作者:太空宇宙 更新时间:2023-11-04 12:15:09 25 4
gpt4 key购买 nike

我正在使用随 Bower 安装的 Ploymer 图标 0.5.5。这些图标在 Chrome 中工作正常,但在 Firefox 中隐藏。 Example Code

如何解决这个问题?

最佳答案

我刚刚注意到您的代码中没有包含 Web 组件的 polyfill,这很可能是问题所在。没有其他浏览器支持像 Chrome 这样的 Web 组件,因此您必须像这样在 index.html 中包含 polyfill:

<script src="[Polymer-elements-folder]/webcomponentsjs/webcomponents.js"><script>

关于html - Polymer 核心图标在 FireFox 中不呈现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28780306/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com