aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html')
-rw-r--r--vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html
index 45d72d0eb..3d0c27883 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html
@@ -2,13 +2,13 @@
{{- $name := .Get 0 -}}
-Dismissal can be achieved with the `data` attribute on a button **within the {{ $name }}** as demonstrated below:
+Dismissal can be achieved with the `data-bs-dismiss` attribute on a button **within the {{ $name }}** as demonstrated below:
```html
<button type="button" class="btn-close" data-bs-dismiss="{{ $name }}" aria-label="Close"></button>
```
-or on a button **outside the {{ $name }}** using the `data-bs-target` as demonstrated below:
+or on a button **outside the {{ $name }}** using the additional `data-bs-target` as demonstrated below:
```html
<button type="button" class="btn-close" data-bs-dismiss="{{ $name }}" data-bs-target="#my-{{ $name }}" aria-label="Close"></button>