toast-message
v0.0.2
Published
This is light weight package, allows you to display toast messages
Downloads
32
Readme
ToastMessage
This library was generated with Angular CLI version 8.2.0.
Code scaffolding
Usage
npm i toast-message
then in HTML
<Ngx-ToastMessage [message]="'hello Good morning'" [animationType]="'toast-animate-from-bottom'" [addClass] = "'toastMessageClass'"></Ngx-ToastMessage>
Message : content you want to display
animation type : toast-animate-from-bottom | toast-animate-from-top
addClass : your custom class name , ex : toastMessageClass
Customize specific styles: see below code .toastMessageClass{ background: green!important;; color: #fff!important;; .message{
}
.close-btn{
color:#fff !important;
}}
You can check code README.
MIT licence
