我使用角度带+角度动画(角度运动)创建了一些工具提示。最初它们正在工作,因为所有这些都在悬停时显示。但是当快速盘旋在任何工具尖端上时,它们会冻结并卡在左上角。
nav(id="menubarContainer")
ul
li(bs-tooltip="tooltip.home" data-placement="bottom")
i(class="fa fa-home fa-2x" ui-sref="home")
li(bs-tooltip="tooltip.create" data-placement="bottom-left")
i(class="fa fa-plus fa-2x")
li(bs-tooltip="tooltip.settings" data-placement="bottom-left")
i(class="fa fa-cog fa-2x")
li(bs-tooltip="tooltip.help" data-placement="bottom-left")
i(class="fa fa-question-circle fa-2x")
镀铬鞋这个错误: 未捕获的TypeError:无法读取null angular-animate.js:290
的属性'length'这是:
function extractElementNode(element) {
for(var i = 0; i < element.length; i++) { //here it cant read length of null!
var elm = element[i];
if(elm.nodeType == ELEMENT_NODE) {
return elm;
}
}
}
任何人都有类似的问题吗?