]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Changes to Alert component to match the others (#33402)
authorGeoSot <geo.sotis@gmail.com>
Mon, 28 Jun 2021 13:34:47 +0000 (16:34 +0300)
committerGitHub <noreply@github.com>
Mon, 28 Jun 2021 13:34:47 +0000 (16:34 +0300)
commit70dd7f6ff51a0bd3b09b0de3640b0517b8b08f64
tree5c72cbf572eb3b4dc8ba721ca2f166a64567f0cc
parent45d26de72817b295c5f94c8426354fd5b7d0a1f9
Changes to Alert component to match the others (#33402)

Alert.js: Refactor code to match the other components
* Use this._element
* Remove handleDismiss method and keep its functionality on event
* Change JqueryInterface to be more generic
* Correct docs to be aligned with code, and add undocumented functionality
* Update alerts.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/src/alert.js
js/tests/unit/alert.spec.js
site/content/docs/5.0/components/alerts.md