You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/docs/5.3/components/modal.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -856,7 +856,7 @@ Bootstrap's modal class exposes a few events for hooking into modal functionalit
856
856
{{< bs-table >}}
857
857
| Event | Description |
858
858
| --- | --- |
859
-
|`hide.bs.modal`| This event is fired immediately when the `hide` instance method has been called. |
859
+
|`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. |
860
860
|`hidden.bs.modal`| This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete). |
861
861
|`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`. |
862
862
|`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. |
0 commit comments