View Code? Open in Web Editor
NEW
Boostrap 4 Growl Style Alerts
CSS 4.01%
JavaScript 73.94%
HTML 22.05%
boostrap-grlow-alerts's Introduction
- download this repo to your project and extract it
- include path/to/boostrap-grlow-alerts/alert.css
- include path/to/boostrap-grlow-alerts/alert.min.js
const alerts = useAlert({ position: 'TOP_RIGHT' })
lerts.success("Order received successfully. We shall contact you soon. Thank you for choosing CINEMAUG MAERCHANDIZE")
alerts.info("Coupon applied successfully. Discount of 5000 ugx has been given")
alerts.error("Oops, there was an error while processing your order. Please try again later")
alerts
can be any javascript variable name
- There are 9 allowed postions
- TOP_RIGT (defaut)
- TOP_LEFT
- TOP_CENTER
- MIDDLE_LEFT
- MIDDLE_CENTER
- MIDDLE_RIGHT
- BOTTOM_LEFT
- BOTTOM_CENTER
- BOTTOM_RIGHT
For more usage guidelines, visit the index page of this plugin
- Fork the repo and sugest changes
- Use alert.js for modification
- request to contribute by Email
boostrap-grlow-alerts's People
Contributors
Stargazers
Watchers