@itsfuad/domtoastmessage
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @itsfuad/domtoastmessage

Weekly Downloads

6

Version

1.0.7

License

ISC

Unpacked Size

477 kB

Total Files

8

Last publish

Collaborators

  • itsfuad