simple_alert_toaster
v1.0.3
Published
this is a simple Alert Toaster build by using Bootstrap
Downloads
18
Readme
What is this?
this is a simple Alert Toaster build by using Bootstrap
How to use this?
npm i simple_alert_toaster or yarn add simple_alert_toaster
import alertToaster from "simple_alert_toaster";
currently supports forntend frameworks and libries like React, Angular, Vuejs and svelte using with typescript not recommended
first of you need to import bootstrap css files and js files to your index.html file And create a div with class name with alertDiv like below
then simple call this function like below
alertToaster("Title", "Message", "type");
type can be 'danger', 'warn', 'success' and other boostrap alert types