2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Initial approach on generic triggering

This commit is contained in:
GeoSot
2021-12-10 03:09:48 +02:00
parent 63f75bccd8
commit 5cfefe8d66
9 changed files with 115 additions and 59 deletions
@@ -8,6 +8,9 @@ toc: true
## Examples
<div class="alert alert-primary" data-bs-act="click:alert:close">Working example. Click on it</div>
<div class="alert alert-danger" data-bs-act="click:kalert:close">NOT working example. Click on it</div>
Alerts are available for any length of text, as well as an optional close button. For proper styling, use one of the eight **required** contextual classes (e.g., `.alert-success`). For inline dismissal, use the [alerts JavaScript plugin](#dismissing).
{{< example >}}