Answer the question
In order to leave comments, you need to log in
How to add popevera close button?
How to add popevera close button? Tried like this didn't help. Website
$(function () {
$('[data-toggle="popover"]').popover({
html: true,
template: '<div class="popover" role="tooltip"><div class="arrow"></div><div class="popover-body"><div class="popever__close">x</div></div></div>'
})
})
Answer the question
In order to leave comments, you need to log in
adding a button to the pop-over layout. The block in which the button will be located has a position relative, and the button has an absolute. You align using the properties top left right bottom. In the script, you click on the button and the desired action with a pop-over on click, a hyde toggle, or something else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question