Skip to content

A simple function library to display toast messages in your web applications.

Notifications You must be signed in to change notification settings

itsfuad/DOMToastMessage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toast message

This is a simple function library to display toast messages in your web applications.

Usage

//Type Definition
showToastMessage(text: string, timeout: number = 1000, backgroundColor: string = 'rgba(0, 0, 0, 0.8)', color: string = 'white'): void

//Example
showToastMessage('Hello, World!', 1000, '#000000', '#ffffff');

About

A simple function library to display toast messages in your web applications.

Topics

Resources

Stars

Watchers

Forks