]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Use a streamlined way to trigger component dismiss (#34170)
authorGeoSot <geo.sotis@gmail.com>
Wed, 28 Jul 2021 14:39:32 +0000 (17:39 +0300)
committerGitHub <noreply@github.com>
Wed, 28 Jul 2021 14:39:32 +0000 (17:39 +0300)
commit4bfd8a2cbcb10610b4078cefa45756b4a96301a0
tree2358a92299ff8fa105623932caacddbf8cd83a41
parent047145e8086793e7c39747e70f5d74a8860c2e50
Use a streamlined way to trigger component dismiss (#34170)

* use a streamlined way to trigger component dismiss

* add documentation

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
12 files changed:
js/src/alert.js
js/src/modal.js
js/src/offcanvas.js
js/src/toast.js
js/src/util/component-functions.js [new file with mode: 0644]
js/tests/unit/toast.spec.js
js/tests/unit/util/component-functions.spec.js [new file with mode: 0644]
site/content/docs/5.0/components/alerts.md
site/content/docs/5.0/components/modal.md
site/content/docs/5.0/components/offcanvas.md
site/content/docs/5.0/components/toasts.md
site/layouts/shortcodes/js-dismiss.html [new file with mode: 0644]