prototype.registerCallback不是Polymer中的函数 [英] prototype.registerCallback is not a function in Polymer
本文介绍了prototype.registerCallback不是Polymer中的函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试使用core-icon和layout元素. 当我导入core-icons.html时,出现了一些错误.
I've try to use core-icon and layout element. When I import core-icons.html, there's some error..
Uncaught TypeError: prototype.registerCallback is not a function
,页面上会显示任何元素.
and there is any element display on the page.
我应该怎么做才能解决它. -使用聚合物0.9和元素(0.5)
What should I do to fix it. - Using Polymer 0.9 and Elements (0.5)
推荐答案
Core Elements与Polymer 0.9不兼容.改用铁元素.
Core Elements are not compatible with Polymer 0.9. Use iron-elements instead.
这篇关于prototype.registerCallback不是Polymer中的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文