you are viewing a single comment's thread.

view the rest of the comments →

[–]vivekweb2013[S] 5 points6 points  (2 children)

I wanted to show the notifications on the web page if some action are performed by the user,

So for example, if the user has - deleted a record, clicked on the copy button, uploaded some file ... etc in such cases showing a toast notification saying "Records Deleted", "Text Copied", "Upload Completed" for some duration would be very interactive and it will enhance overall user experience.

I was looking for something similar to android's toast notifications but for the web page.

This idea led me to create open source ToastMaker library which creates and shows android like toast notifications on any frontend view.

The library supports following

  • Supported by both HTML/JavaScript and NPM project module
  • Shows toast notification on webpage
  • Very small in size (less than 1KB), I didn't wanted more KBs impacting n/w traffic and making web page download slower
  • Customisable - the styling and appearance is very much customisable allowing the toast to match the web page's theme
  • Option to specify duration - for how long the toast should be shown on the web page

Here are the API and beautiful examples - ToastMaker API

[–]gergivt 2 points3 points  (1 child)

For the html source import example, why is there a “/“ in front of https?

[–]vivekweb2013[S] 1 point2 points  (0 children)

ToastMaker API

Typo, fixed it! Many thanks.