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:
@@ -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 >}}
|
||||
|
||||
Reference in New Issue
Block a user