1.0.10 • Published 2 years ago

js-toast-msg v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Installation

Install with npm:

$ npm install js-toast-msg

Usage and Examples

import { toast } from 'js-toast-msg';

const pageTitle = 'home';  

/**
* Displays the toast message.
*/
toast.showMessage(`pageTitle= ${pageTitle}`); 
/**
* Change the displayed time of the toast message.
* The property of the parameter is millisecond.
*/
toast.setDuration(5000); 
/**
* Change the font size of the toast message.
*/
toast.setFontSize(15);  

Contributors

peter.yo

Licenced

MIT

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago