2
Does anyone know why when I put Trigger together with html:true or Popover stops working?
HTML:
<a href="#" class="popoverr" role="button" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus sagittis lacus vel augue.">
<i class="fa fa-money"></i> 10 Pontos
</a>
JS:
$(".popoverr").popover({
html: true,
trigger: 'focus' // comente o trigger para o popover funcionar.
});
Any difference if used only the
hover? I always use Hover.. Good answer :)– Ronny Amarante
@Ronnyamarante the
hoveronly works well. Theclickis useful for "mobiles/tablets" that do not havehover– Sergio
Good, I hadn’t thought of that hypothesis. :)
– Ronny Amarante
Perfect, I needed the click function also precisely because the project is mobile-ready.
– Matt Costa