【发布时间】:2015-07-14 11:49:10
【问题描述】:
我尝试为小数创建一个引导弹出框并在弹出框中显示该小数,这是模板:
<span
ng-bind-html="amount1">
</span>
目前我已经像这样定义了我的弹出框:
<h1 popover-template="myPopoverTemplate.html" popover-trigger="mouseenter" ng-bind-html="amount1"></h1>
<h1 popover-template="'myPopoverTemplate.html'" popover-trigger="mouseenter" ng-bind-html="amount2"></h1>
是否可以对 2 个金额使用相同的弹出框模板?
【问题讨论】:
-
查看新编辑的答案和插件
标签: angularjs twitter-bootstrap-3 popover