1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-14 17:44:15 +02:00

Fix popover live demo to use data-bs-title instead of title (#36613)

This commit is contained in:
Julien Déramond
2022-06-21 07:39:15 +02:00
committed by GitHub
parent cfabeb71fa
commit a877c5d04a

View File

@@ -51,7 +51,7 @@ We use JavaScript similar to the snippet above to render the following live popo
{{< /callout >}} {{< /callout >}}
{{< example stackblitz_add_js="true" >}} {{< example stackblitz_add_js="true" >}}
<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> <button type="button" class="btn btn-lg btn-danger" data-bs-toggle="popover" data-bs-title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
{{< /example >}} {{< /example >}}
### Four directions ### Four directions