Growl Notification In Vanilla JavaScript – vToasts

Category: Javascript , Notification | May 24, 2018
Views Total:613 views
Official Page:Go to website
Last Update:May 24, 2018


Growl Notification In Vanilla JavaScript – vToasts


vToasts is a minimal, easy-to-use JavaScript plugin to create growl-style notifications that slide in from the edge of the screen and slide out after a certain timeout.

How to use it:

Import the vToasts’ JavaScript and CSS files into the html file.

<link href="vToasts.css" rel="stylesheet">
<script src="vToasts.js"></script>

Create a new notification.

  title: 'Notification Title',
  type: 'success',
  content: 'Notification Content'

All possible notification types.

  • success
  • info
  • warn
  • error

You Might Be Interested In:

Leave a Reply