我定義我的引導提示是這樣的:如何在懸停時顯示工具提示?
<button popover-template="myPopoverTemplate.html" data-trigger="hover" popover-title="{{dynamicPopover.title}}" class="btn btn-default">Popover With Template</button>
我的模板看起來是這樣的:
<div>{{dynamicPopover.content}}</div>
<div class="form-group">
<label>Popup Title:</label>
<input type="text" ng-model="dynamicPopover.title" class="form-control">
</div>
問題是提示不懸停showup?
plunkr REF:http://plnkr.co/edit/G1Cet74mVCkVYvdXRxnX?p=preview
欣賞的努力,但是當我懸停仍然不顯示:(改變plunkr咯:http://plnkr.co/edit/G1Cet74mVCkVYvdXRxnX?p =預覽 – Leeuwtje
@Leeuwtje你希望模板是'myPopoverTemplate.html'對吧? –
@Leeuwtje對不起,我沒有意識到要求,增加了編輯和一個新的普樂克,希望它有幫助! –