如何在我的解决方案中设置 popovertemplate 的路径?
how to set path to popovertemplate in my solution?
我正在使用 bootstrap popovertemplate (ui.bootstrap.popover) 但解决方案看不到模板:
<span
popover-template="./mytemplate.html"
popover-trigger="mouseenter"
ng-bind-html="somevalue">
</span>
指定模板的正确方法是什么?
您需要用单引号指定路径 popover-template="'./mytemplate.html'"
我正在使用 bootstrap popovertemplate (ui.bootstrap.popover) 但解决方案看不到模板:
<span
popover-template="./mytemplate.html"
popover-trigger="mouseenter"
ng-bind-html="somevalue">
</span>
指定模板的正确方法是什么?
您需要用单引号指定路径 popover-template="'./mytemplate.html'"