Jam*_*ite 4 popover angularjs angular-ui angular-ui-bootstrap
我发布了一个早期的问题:angular-ui-bootstrap:使用popover-html在popover中实现html,并建议我使用popover-template.
<i popover-template="popover-partial.html" popover-title="In Progress" class="glyphicon glyphicon-info-sign"></i>
<script type="text/ng-template" id="popover-partial.html">
<b>Jody</b>
</script>
Run Code Online (Sandbox Code Playgroud)
所以我试图这样做,但现在弹出窗口不会在点击时激活.
我使用的是版本0.13.4.
Pan*_*kar 11
popover-template价值应该是string,换句话说你可以说,它需要一个expression/ scopeVariable.
<i popover-template="'popover-partial.html'"
popover-title="In Progress"
class="glyphicon glyphicon-info-sign">
</i>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4933 次 |
| 最近记录: |