I'm using Webui Popover plugin for popovers on a page.
Then I initialised popover as
$('div.score-range').webuiPopover({
type: 'html',
placement: 'left',
width: 400,
delay: {//show and hide delay time of the popover, works only when trigger is 'hover',the value can be number or object
show: null,
hide: 30000
},
closeable: true,
trigger: 'manual',
title:
return "Score Range"; ,
content: function () {
return "My Content"
}
})
But the problem is even I specified manual option in the trigger , its being shows on hovering the button to which the popover is assigned.
But I would like to trigger this on clicking the button. Im not using the click trigger since I've something more to do the button click event and if some condition is satisfied then the popover has to show.
So only on the click event of the button the popover should show. So I can show the popover using
$('#mybutton').webuiPopover('show');
But the popver is showing when hovering that button even trigger manual is specified.