Bootstrap .popover() 'show' & 'destroy' not working properly

后端 未结 6 2048
刺人心
刺人心 2021-02-12 21:44

When I use the bootstrap popover in \'manual\' mode \'destroy\' and \'hide\' not working properly. When I\'m using hide and destroy, popover opacity changing to 0 but its not ch

6条回答
  •  悲&欢浪女
    2021-02-12 22:51

    //Works for hover events:
    
    $('[data-toggle="popover"]').popover();
    $('[data-toggle="popover"]').mouseleave(function(e) {
        e.stopPropagation();
        $(this).find('.popover').remove();
     });
    

提交回复
热议问题