🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

BootsAlert is a lightweight jQuery plugin which lets you create customizable alert notifications using Bootstrap alerts component.

Notification alert Bootstrap bootstrap-4

Documentation

BootsAlert

Simple library to create alert from Bootstrap Framework.

dependencies Status GitHub version

Compatibility

This library is compatible with bootstrap 3 and 4 alert.

How to Use

This code below shows you an example about how to use this library:

... <body>     <div id="demo"></div> </body> <script>     bootsalert({         className: "success",         message: "be success",         container: "demo",         closebtn: true     }); </script>

There's several variable that must be filled and should be filled to make this library can work perfectly:

variable type content
className string [required]class name of alert provide by bootstrap. you can use success or other type or your own custom type
message string [required]your message to user after doing something
container string [required]alert will be inserted to this component. Selected component must have id attributes
closebtn boolean [optional:false]specify that alert will have close button or not.

You May Also Like