1.0.7 • Published 1 year ago

@itsfuad/domtoastmessage v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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');
1.0.7

1 year ago