Ejemplo 1: ventana emergente de arranque
<button type="button" class="btn btn-lg btn-danger" data-toggle="popover" title="Popover title" data-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
Ejemplo 2: popover bootstrap 3
<a tabindex="0" class="btn btn-lg btn-danger" role="button" data-toggle="popover" data-trigger="hover" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a>
Ejemplo 3: texto emergente del botón bootsrap al pasar el mouse
$(function () {
$('[data-toggle="popover"]').popover()
})
Ejemplo 4: dos para hacer Popovers en bootstrap 5
<button type="button" class="btn btn-lg btn-danger" data-bs-toggle="popover" title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)