From 176d95d520c833ac848dba2913174024c3d0b71e Mon Sep 17 00:00:00 2001 From: coliff Date: Fri, 14 Feb 2025 20:46:41 +0900 Subject: [PATCH 1/2] Docs: updates --- site/content/docs/v2/components/modal.md | 2 +- site/content/docs/v2/forms/checks-radios.md | 62 ++++++++++----------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/site/content/docs/v2/components/modal.md b/site/content/docs/v2/components/modal.md index 141eec7..c0ecab4 100644 --- a/site/content/docs/v2/components/modal.md +++ b/site/content/docs/v2/components/modal.md @@ -910,7 +910,7 @@ Bootstrap's modal class exposes a few events for hooking into modal functionalit {{< bs-table >}} | Event | Description | | --- | --- | -| `hide.bs.modal` | This event is fired immediately when the `hide` instance method has been called. | +| `hide.bs.modal` | This event is fired immediately when the `hide` instance method has been called. Can be prevented by calling `event.preventDefault()`. See [JavaScript events documentation]({{< docsref "/getting-started/javascript#events" >}}) for more details on event prevention. | | `hidden.bs.modal` | This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete). | | `hidePrevented.bs.modal` | This event is fired when the modal is shown, its backdrop is `static` and a click outside of the modal is performed. The event is also fired when the escape key is pressed and the `keyboard` option is set to `false`. | | `show.bs.modal` | This event fires immediately when the `show` instance method is called. If caused by a click, the clicked element is available as the `relatedTarget` property of the event. | diff --git a/site/content/docs/v2/forms/checks-radios.md b/site/content/docs/v2/forms/checks-radios.md index 40770c2..dbd59ef 100644 --- a/site/content/docs/v2/forms/checks-radios.md +++ b/site/content/docs/v2/forms/checks-radios.md @@ -1,7 +1,7 @@ --- layout: docs title: Checks and radios -description: Create consistent cross-browser and cross-device checkboxes and radios with our completely rewritten checks component. +description: Create consistent cross-browser and cross-device checkboxes, radios and switches with our completely rewritten checks component. group: forms aliases: - "/components/checkboxes/" @@ -23,14 +23,14 @@ Our checks use custom Bootstrap icons to indicate checked or indeterminate state {{< example >}}
- -
- -
@@ -42,8 +42,8 @@ Checkboxes can utilize the `:indeterminate` pseudo class when manually set via J {{< example class="bd-example-indeterminate" stackblitz_add_js="true" >}}
- -
@@ -55,20 +55,20 @@ Add the `disabled` attribute and the associated `