In this post I'll configure ToastrJS for a small application. Create ASP.net MVC internet project. Add ToastrJS using Nuget.
- info
- warning
- success
- error
When we run the project you'll be able to see those notifications like below.
These notifications will display in bottom-right corner. We can configure this by using toastr.options.positionClass. There we can give top-right, bottom-full-width like wise.
You can find the source of this demo in GitHub.
Nice post Thanks for sharing.
ReplyDeleteemergency mass notification software