From fd7cfac4cbd05049da73427c6aa57d1201e523a6 Mon Sep 17 00:00:00 2001 From: Hannah Issermann Date: Fri, 10 Mar 2023 18:23:59 +0100 Subject: [PATCH] Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples (#38182) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples * Update site/layouts/shortcodes/js-dismiss.html Co-authored-by: Julien Déramond --------- Co-authored-by: Mark Otto Co-authored-by: Julien Déramond --- site/layouts/shortcodes/js-dismiss.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/layouts/shortcodes/js-dismiss.html b/site/layouts/shortcodes/js-dismiss.html index 45d72d0eb2..3d0c27883f 100644 --- a/site/layouts/shortcodes/js-dismiss.html +++ b/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 ``` -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