Answers for "bootstrap 4 popover msg"

0

bootstrap popover style width

.popover{
    max-width: 100%; 
    /* Max Width of the popover (depending on the container!) */
}
Posted by: Guest on July-16-2020
-1

bootstrap popover on dynamic element

var popOverSettings = {
    placement: 'bottom',
    container: 'body',
    html: true,
    selector: '[rel="popover"]', //Sepcify the selector here
    content: function () {
        return $('#popover-content').html();
    }
}

$('body').popover(popOverSettings);
Posted by: Guest on May-22-2020

Browse Popular Code Answers by Language