0
的酥料餅可以通過這個開放:AngularStrap皮酥料餅
的index.html
<button id="myid2"> myid2 </button>
<button id="myid3"> myid3 </button>
<a href="javascript:;" ng-click="showpopover('#myid2')">show popover myid2</a>
<a href="javascript:;" ng-click="showpopover('#myid3')">show popover myid3</a>
app.js
$scope.showpopover = function(el){
var myPopover = $popover(angular.element(el), {title: el, content: 'My Content',show:true, placement:'bottom'});
};
如何通過腳本關閉打開的酥料餅?