You are viewing version 3 of the library, the latest version is
<button class="btn btn-primary" data-toast-type="success" data-toast-text="Hi! I'm success message.">
    success message
</button>

Alerts - Do not implement!

Modals are used instead of alerts.

Based on the version from MDB:
https://mdbootstrap.com/javascript/alerts/