0.0.2 • Published 5 years ago

toast-message v0.0.2

Weekly downloads
10
License
-
Repository
github
Last release
5 years ago

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

0.0.2

5 years ago

0.0.1

5 years ago