Skip to content

Small Notification App written in JavaScript and Tailwind.

License

Notifications You must be signed in to change notification settings

MikeLowrey/toast-hawaii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

toast-hawaii

Small Notification App written in JavaScript and Tailwind.

First of all, include the script in your programme. Then you can initiate the ToastHawaii object in your programme with:

let t = new ToastHawaii({duration:3000}). 

From now on, you have access to the makeToast() method. With this function you can create a toast. See the example:

t.makeToast({
  title: 'Hello World',
  msg: 'It is allways good to be polite!',
  style: 'success'
});

Don't forget to include in your HTML the Toast Container.

<div class="fixed inset-x-0 top-0 z-40 pointer-events-none" id="toast-hawaii"></div>

You can find an example / demo here: https://demos.seotheater.de/254/

About

Small Notification App written in JavaScript and Tailwind.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published