How to use it?
1. You need MDB Pro package
2. Create the alert you like
3. Copy the generated code and paste it into the MDB project
Colors
mdb.Alert.getInstance(document.getElementById("alertExample")).update({
position: "top-right",
delay: 2000,
autohide: false,
width: "600px",
offset: 20,
stacking: false,
appendToBody: false,
});
<div class="alert" id="alertExample" role="alert" data-mdb-color="primary">
Hello! I am a simple alert
<a href="#" class="alert-link">
with an additional link
</a>
</div>;
How to use it?
1. You need MDB Pro package
2. Create the alert you like
3. Copy the generated code and paste it into the MDB project
Colors
MDB4 is a kit for the outdated Bootstrap v4. We created a separate kit - MDB5, that works with Bootstrap v5 and will be continuously updated to all Bootstrap versions that will rely on pure JS instead of jQuery.
MDB4 will no longer be Updated. Technical Support for MDB4 expires 12 months after the latest license renewal.
We recommend upgrading to MDB5. What will you get with an upgrade?
Log in to your account or purchase an MDB5 PRO subscription if you don't have one.
Login Buy MDB Pro