Sliding Notification Messages In Pure JavaScript – toast-fs

Category: Javascript , Notification | July 11, 2019
Author: FaisalST32
Views Total: 25
Official Page: Go to website
Last Update: July 11, 2019
License: MIT

Preview:

Sliding Notification Messages In Pure JavaScript – toast-fs

Description:

toast-fs is a dependency-free JavaScript library to create notification message sliding from the edge of the screen.

How to use it:

Download and include the toast-fs library’s files on the page.

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

Display a success notification message on the screen.

toastfs.success('Success message')

Display an error notification message on the screen.

toastfs.error('Error message')

Remove all activated notification messages.

toastfs.remove()

You Might Be Interested In:


Leave a Reply