【发布时间】:2021-12-22 02:52:56
【问题描述】:
我已经实现了在按钮悬停时显示弹出框。当用户关注内容时,弹出内容被隐藏。我已经实现了下面的代码。我不应该在用户关注内容时隐藏弹出内容,任何人都可以建议
$(function() {
$('[data-toggle="popover"]').popover({
trigger: 'hover focus',
placement: 'bottom',
content: "And here's some amazing content. It's very engaging. Right?",
title: "Popover title",
html: true,
template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'
})
})
谢谢
【问题讨论】:
标签: html jquery css bootstrap-4