1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02:00

Docs: Small enhancements (#37803)

* Consistency with the doc

* Bring a class to avoid weird behavior

* Consistency + Add some explaining text

* fix(color)
This commit is contained in:
Louis-Maxime Piton
2023-01-06 04:59:59 +01:00
committed by GitHub
parent 702a3b6a61
commit fd1ec97bd3
5 changed files with 24 additions and 9 deletions

View File

@@ -488,7 +488,7 @@ exampleModal.addEventListener('show.bs.modal', event => {
const button = event.relatedTarget
// Extract info from data-bs-* attributes
const recipient = button.getAttribute('data-bs-whatever')
// If necessary, you could initiate an AJAX request here
// If necessary, you could initiate an Ajax request here
// and then do the updating in a callback.
//
// Update the modal's content.